HSL(258, 50%, 62%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(258,50%,62%)]

Color Conversions

Format Value CSS Usage
HSL hsl(258, 50%, 62%) color: hsl(258, 50%, 62%)
HEX #8B6ECF color: #8B6ECF
RGB rgb(139, 110, 207) color: rgb(139, 110, 207)
CMYK cmyk(33%, 47%, 0%, 19%)
HSV hsv(258, 47%, 81%)
HWB hwb(258 43% 19%) color: hwb(258 43% 19%)
OKLCH oklch(0.609 0.1445 295.58) color: oklch(0.609 0.1445 295.58)
Lab lab(53.11 32.75 -46.31) color: lab(53.11 32.75 -46.31)
LCH lch(53.11 56.72 305.27) color: lch(53.11 56.72 305.27)

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 4.02:1
vs Black 5.23: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)

#7E7EB8 — rgb(126, 126, 184)

Deuteranopia (Green-blind)

#8082B2 — rgb(128, 130, 178)

Tritanopia (Blue-blind)

#8AA5A1 — rgb(138, 165, 161)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(258, 50%, 62%);

text

color: hsl(258, 50%, 62%);

border

border: 2px solid hsl(258, 50%, 62%);

gradient light

background: linear-gradient(to right, hsl(258, 50%, 82%), hsl(258, 50%, 62%));

gradient dark

background: linear-gradient(to right, hsl(258, 50%, 62%), hsl(258, 50%, 42%))

hex

background-color: #8B6ECF;

tailwind

bg-[hsl(258,50%,62%)]

box shadow

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

css variable

--color-primary: hsl(258, 50%, 62%);

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(258, 50%, 62%)?

HEX: #8B6ECF | RGB: rgb(139, 110, 207) | CMYK: 33%, 47%, 0%, 19% | HSV: 258°, 47%, 81%. Copy any format from the conversion table above.

What colors go well with #8B6ECF?

The complementary color is HSL(78, 50%, 62%). For a triadic harmony, use hues 258°, 18°, and 138°. For analogous combinations, try hues 228° and 288°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(258, 50%, 62%) in CSS?

As HSL: color: hsl(258, 50%, 62%); — As HEX: color: #8B6ECF; — As RGB: color: rgb(139, 110, 207); — Tailwind CSS: bg-[hsl(258,50%,62%)] — CSS variable: --color-primary: hsl(258, 50%, 62%);