HSL(275, 21%, 61%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(275,21%,61%)]

Color Conversions

Format Value CSS Usage
HSL hsl(275, 21%, 61%) color: hsl(275, 21%, 61%)
HEX #9F87B0 color: #9F87B0
RGB rgb(159, 135, 176) color: rgb(159, 135, 176)
CMYK cmyk(10%, 23%, 0%, 31%)
HSV hsv(275, 23%, 69%)
HWB hwb(275 53% 31%) color: hwb(275 53% 31%)
OKLCH oklch(0.6595 0.0655 311.01) color: oklch(0.6595 0.0655 311.01)
Lab lab(59.74 16.96 -18.19) color: lab(59.74 16.96 -18.19)
LCH lch(59.74 24.87 313) color: lch(59.74 24.87 313)

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.2:1
vs Black 6.57: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)

#9594A6 — rgb(149, 148, 166)

Deuteranopia (Green-blind)

#9698A4 — rgb(150, 152, 164)

Tritanopia (Blue-blind)

#9E9E9D — rgb(158, 158, 157)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(275, 21%, 61%);

text

color: hsl(275, 21%, 61%);

border

border: 2px solid hsl(275, 21%, 61%);

gradient light

background: linear-gradient(to right, hsl(275, 21%, 81%), hsl(275, 21%, 61%));

gradient dark

background: linear-gradient(to right, hsl(275, 21%, 61%), hsl(275, 21%, 41%))

hex

background-color: #9F87B0;

tailwind

bg-[hsl(275,21%,61%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(275, 21%, 61%, 0.4);

css variable

--color-primary: hsl(275, 21%, 61%);

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(275, 21%, 61%)?

HEX: #9F87B0 | RGB: rgb(159, 135, 176) | CMYK: 10%, 23%, 0%, 31% | HSV: 275°, 23%, 69%. Copy any format from the conversion table above.

What colors go well with #9F87B0?

The complementary color is HSL(95, 21%, 61%). For a triadic harmony, use hues 275°, 35°, and 155°. For analogous combinations, try hues 245° and 305°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(275, 21%, 61%) in CSS?

As HSL: color: hsl(275, 21%, 61%); — As HEX: color: #9F87B0; — As RGB: color: rgb(159, 135, 176); — Tailwind CSS: bg-[hsl(275,21%,61%)] — CSS variable: --color-primary: hsl(275, 21%, 61%);