HSL(255, 50%, 68%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(255,50%,68%)]

Color Conversions

Format Value CSS Usage
HSL hsl(255, 50%, 68%) color: hsl(255, 50%, 68%)
HEX #9985D6 color: #9985D6
RGB rgb(153, 133, 214) color: rgb(153, 133, 214)
CMYK cmyk(29%, 38%, 0%, 16%)
HSV hsv(255, 38%, 84%)
HWB hwb(255 52% 16%) color: hwb(255 52% 16%)
OKLCH oklch(0.6672 0.1191 294.29) color: oklch(0.6672 0.1191 294.29)
Lab lab(60.25 25.08 -38.91) color: lab(60.25 25.08 -38.91)
LCH lch(60.25 46.29 302.8) color: lch(60.25 46.29 302.8)

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.14:1
vs Black 6.68: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)

#9090C2 — rgb(144, 144, 194)

Deuteranopia (Green-blind)

#9293BE — rgb(146, 147, 190)

Tritanopia (Blue-blind)

#98B3B0 — rgb(152, 179, 176)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(255, 50%, 68%);

text

color: hsl(255, 50%, 68%);

border

border: 2px solid hsl(255, 50%, 68%);

gradient light

background: linear-gradient(to right, hsl(255, 50%, 88%), hsl(255, 50%, 68%));

gradient dark

background: linear-gradient(to right, hsl(255, 50%, 68%), hsl(255, 50%, 48%))

hex

background-color: #9985D6;

tailwind

bg-[hsl(255,50%,68%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(255, 50%, 68%, 0.4);

css variable

--color-primary: hsl(255, 50%, 68%);

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(255, 50%, 68%)?

HEX: #9985D6 | RGB: rgb(153, 133, 214) | CMYK: 29%, 38%, 0%, 16% | HSV: 255°, 38%, 84%. Copy any format from the conversion table above.

What colors go well with #9985D6?

The complementary color is HSL(75, 50%, 68%). For a triadic harmony, use hues 255°, 15°, and 135°. For analogous combinations, try hues 225° and 285°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(255, 50%, 68%) in CSS?

As HSL: color: hsl(255, 50%, 68%); — As HEX: color: #9985D6; — As RGB: color: rgb(153, 133, 214); — Tailwind CSS: bg-[hsl(255,50%,68%)] — CSS variable: --color-primary: hsl(255, 50%, 68%);