HSL(257, 99%, 71%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(257,99%,71%)]

Color Conversions

Format Value CSS Usage
HSL hsl(257, 99%, 71%) color: hsl(257, 99%, 71%)
HEX #956CFE color: #956CFE
RGB rgb(149, 108, 254) color: rgb(149, 108, 254)
CMYK cmyk(41%, 57%, 0%, 0%)
HSV hsv(257, 57%, 100%)
HWB hwb(257 43% 0%) color: hwb(257 43% 0%)
OKLCH oklch(0.6442 0.2078 292.54) color: oklch(0.6442 0.2078 292.54)
Lab lab(56.36 48.68 -67.39) color: lab(56.36 48.68 -67.39)
LCH lch(56.36 83.13 305.84) color: lch(56.36 83.13 305.84)

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 3.59:1
vs Black 5.85:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#8383DB — rgb(131, 131, 219)

Deuteranopia (Green-blind)

#8689D2 — rgb(134, 137, 210)

Tritanopia (Blue-blind)

#93BFB9 — rgb(147, 191, 185)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(257, 99%, 71%);

text

color: hsl(257, 99%, 71%);

border

border: 2px solid hsl(257, 99%, 71%);

gradient light

background: linear-gradient(to right, hsl(257, 99%, 91%), hsl(257, 99%, 71%));

gradient dark

background: linear-gradient(to right, hsl(257, 99%, 71%), hsl(257, 99%, 51%))

hex

background-color: #956CFE;

tailwind

bg-[hsl(257,99%,71%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(257, 99%, 71%, 0.4);

css variable

--color-primary: hsl(257, 99%, 71%);

Related Colors

Use Cases for Indigo

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(257, 99%, 71%)?

HEX: #956CFE | RGB: rgb(149, 108, 254) | CMYK: 41%, 57%, 0%, 0% | HSV: 257°, 57%, 100%. Copy any format from the conversion table above.

What colors go well with #956CFE?

The complementary color is HSL(77, 99%, 71%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(257, 99%, 71%) in CSS?

As HSL: color: hsl(257, 99%, 71%); — As HEX: color: #956CFE; — As RGB: color: rgb(149, 108, 254); — Tailwind CSS: bg-[hsl(257,99%,71%)] — CSS variable: --color-primary: hsl(257, 99%, 71%);