HSL(246, 97%, 79%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(246,97%,79%)]

Color Conversions

Format Value CSS Usage
HSL hsl(246, 97%, 79%) color: hsl(246, 97%, 79%)
HEX #A096FD color: #A096FD
RGB rgb(160, 150, 253) color: rgb(160, 150, 253)
CMYK cmyk(37%, 41%, 0%, 1%)
HSV hsv(246, 41%, 99%)
HWB hwb(246 58% 1%) color: hwb(246 58% 1%)
OKLCH oklch(0.7245 0.147 286.56) color: oklch(0.7245 0.147 286.56)
Lab lab(66.81 27.29 -50.11) color: lab(66.81 27.29 -50.11)
LCH lch(66.81 57.06 298.57) color: lch(66.81 57.06 298.57)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 2.54:1
vs Black 8.28:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#9C9CE4 — rgb(156, 156, 228)

Deuteranopia (Green-blind)

#9C9DDE — rgb(156, 157, 222)

Tritanopia (Blue-blind)

#A0D0CC — rgb(160, 208, 204)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(246, 97%, 79%);

text

color: hsl(246, 97%, 79%);

border

border: 2px solid hsl(246, 97%, 79%);

gradient light

background: linear-gradient(to right, hsl(246, 97%, 99%), hsl(246, 97%, 79%));

gradient dark

background: linear-gradient(to right, hsl(246, 97%, 79%), hsl(246, 97%, 59%))

hex

background-color: #A096FD;

tailwind

bg-[hsl(246,97%,79%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(246, 97%, 79%, 0.4);

css variable

--color-primary: hsl(246, 97%, 79%);

Related Colors

Use Cases for Blue

Corporate branding Trust signals Tech products Social media Primary buttons

Frequently Asked Questions

What are all the color codes for HSL(246, 97%, 79%)?

HEX: #A096FD | RGB: rgb(160, 150, 253) | CMYK: 37%, 41%, 0%, 1% | HSV: 246°, 41%, 99%. Copy any format from the conversion table above.

What colors go well with #A096FD?

The complementary color is HSL(66, 97%, 79%). For a triadic harmony, use hues 246°, 6°, and 126°. For analogous combinations, try hues 216° and 276°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(246, 97%, 79%) in CSS?

As HSL: color: hsl(246, 97%, 79%); — As HEX: color: #A096FD; — As RGB: color: rgb(160, 150, 253); — Tailwind CSS: bg-[hsl(246,97%,79%)] — CSS variable: --color-primary: hsl(246, 97%, 79%);