HSL(267, 78%, 59%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(267,78%,59%)]

Color Conversions

Format Value CSS Usage
HSL hsl(267, 78%, 59%) color: hsl(267, 78%, 59%)
HEX #8E45E8 color: #8E45E8
RGB rgb(142, 69, 232) color: rgb(142, 69, 232)
CMYK cmyk(39%, 70%, 0%, 9%)
HSV hsv(267, 70%, 91%)
HWB hwb(267 27% 9%) color: hwb(267 27% 9%)
OKLCH oklch(0.5684 0.2314 299.32) color: oklch(0.5684 0.2314 299.32)
Lab lab(46.75 61.59 -70.69) color: lab(46.75 61.59 -70.69)
LCH lch(46.75 93.76 311.06) color: lch(46.75 93.76 311.06)

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 5.04:1
vs Black 4.17:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#6E6EC1 — rgb(110, 110, 193)

Deuteranopia (Green-blind)

#7378B7 — rgb(115, 120, 183)

Tritanopia (Blue-blind)

#8AA19B — rgb(138, 161, 155)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(267, 78%, 59%);

text

color: hsl(267, 78%, 59%);

border

border: 2px solid hsl(267, 78%, 59%);

gradient light

background: linear-gradient(to right, hsl(267, 78%, 79%), hsl(267, 78%, 59%));

gradient dark

background: linear-gradient(to right, hsl(267, 78%, 59%), hsl(267, 78%, 39%))

hex

background-color: #8E45E8;

tailwind

bg-[hsl(267,78%,59%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(267, 78%, 59%, 0.4);

css variable

--color-primary: hsl(267, 78%, 59%);

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(267, 78%, 59%)?

HEX: #8E45E8 | RGB: rgb(142, 69, 232) | CMYK: 39%, 70%, 0%, 9% | HSV: 267°, 70%, 91%. Copy any format from the conversion table above.

What colors go well with #8E45E8?

The complementary color is HSL(87, 78%, 59%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(267, 78%, 59%) in CSS?

As HSL: color: hsl(267, 78%, 59%); — As HEX: color: #8E45E8; — As RGB: color: rgb(142, 69, 232); — Tailwind CSS: bg-[hsl(267,78%,59%)] — CSS variable: --color-primary: hsl(267, 78%, 59%);