HSL(267, 80%, 60%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(267,80%,60%)]

Color Conversions

Format Value CSS Usage
HSL hsl(267, 80%, 60%) color: hsl(267, 80%, 60%)
HEX #9147EB color: #9147EB
RGB rgb(145, 71, 235) color: rgb(145, 71, 235)
CMYK cmyk(38%, 70%, 0%, 8%)
HSV hsv(267, 70%, 92%)
HWB hwb(267 28% 8%) color: hwb(267 28% 8%)
OKLCH oklch(0.5762 0.2327 299.61) color: oklch(0.5762 0.2327 299.61)
Lab lab(47.65 61.93 -70.91) color: lab(47.65 61.93 -70.91)
LCH lch(47.65 94.15 311.13) color: lch(47.65 94.15 311.13)

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.88:1
vs Black 4.3: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)

#7170C3 — rgb(113, 112, 195)

Deuteranopia (Green-blind)

#757BBA — rgb(117, 123, 186)

Tritanopia (Blue-blind)

#8DA49D — rgb(141, 164, 157)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(267, 80%, 60%);

text

color: hsl(267, 80%, 60%);

border

border: 2px solid hsl(267, 80%, 60%);

gradient light

background: linear-gradient(to right, hsl(267, 80%, 80%), hsl(267, 80%, 60%));

gradient dark

background: linear-gradient(to right, hsl(267, 80%, 60%), hsl(267, 80%, 40%))

hex

background-color: #9147EB;

tailwind

bg-[hsl(267,80%,60%)]

box shadow

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

css variable

--color-primary: hsl(267, 80%, 60%);

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, 80%, 60%)?

HEX: #9147EB | RGB: rgb(145, 71, 235) | CMYK: 38%, 70%, 0%, 8% | HSV: 267°, 70%, 92%. Copy any format from the conversion table above.

What colors go well with #9147EB?

The complementary color is HSL(87, 80%, 60%). 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, 80%, 60%) in CSS?

As HSL: color: hsl(267, 80%, 60%); — As HEX: color: #9147EB; — As RGB: color: rgb(145, 71, 235); — Tailwind CSS: bg-[hsl(267,80%,60%)] — CSS variable: --color-primary: hsl(267, 80%, 60%);