HSL(282, 60%, 64%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(282,60%,64%)]

Color Conversions

Format Value CSS Usage
HSL hsl(282, 60%, 64%) color: hsl(282, 60%, 64%)
HEX #B96CDA color: #B96CDA
RGB rgb(185, 108, 218) color: rgb(185, 108, 218)
CMYK cmyk(15%, 50%, 0%, 15%)
HSV hsv(282, 50%, 85%)
HWB hwb(282 43% 15%) color: hwb(282 43% 15%)
OKLCH oklch(0.6594 0.1739 314.88) color: oklch(0.6594 0.1739 314.88)
Lab lab(58.13 48.87 -44.26) color: lab(58.13 48.87 -44.26)
LCH lch(58.13 65.93 317.83) color: lch(58.13 65.93 317.83)

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.38:1
vs Black 6.22: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)

#9897BF — rgb(152, 151, 191)

Deuteranopia (Green-blind)

#9CA2B9 — rgb(156, 162, 185)

Tritanopia (Blue-blind)

#B5AAA6 — rgb(181, 170, 166)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(282, 60%, 64%);

text

color: hsl(282, 60%, 64%);

border

border: 2px solid hsl(282, 60%, 64%);

gradient light

background: linear-gradient(to right, hsl(282, 60%, 84%), hsl(282, 60%, 64%));

gradient dark

background: linear-gradient(to right, hsl(282, 60%, 64%), hsl(282, 60%, 44%))

hex

background-color: #B96CDA;

tailwind

bg-[hsl(282,60%,64%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(282, 60%, 64%, 0.4);

css variable

--color-primary: hsl(282, 60%, 64%);

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(282, 60%, 64%)?

HEX: #B96CDA | RGB: rgb(185, 108, 218) | CMYK: 15%, 50%, 0%, 15% | HSV: 282°, 50%, 85%. Copy any format from the conversion table above.

What colors go well with #B96CDA?

The complementary color is HSL(102, 60%, 64%). For a triadic harmony, use hues 282°, 42°, and 162°. For analogous combinations, try hues 252° and 312°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(282, 60%, 64%) in CSS?

As HSL: color: hsl(282, 60%, 64%); — As HEX: color: #B96CDA; — As RGB: color: rgb(185, 108, 218); — Tailwind CSS: bg-[hsl(282,60%,64%)] — CSS variable: --color-primary: hsl(282, 60%, 64%);