HSL(263, 22%, 58%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(263,22%,58%)]

Color Conversions

Format Value CSS Usage
HSL hsl(263, 22%, 58%) color: hsl(263, 22%, 58%)
HEX #8E7CAB color: #8E7CAB
RGB rgb(142, 124, 171) color: rgb(142, 124, 171)
CMYK cmyk(17%, 27%, 0%, 33%)
HSV hsv(263, 27%, 67%)
HWB hwb(263 49% 33%) color: hwb(263 49% 33%)
OKLCH oklch(0.62 0.0724 301.87) color: oklch(0.62 0.0724 301.87)
Lab lab(55.18 16.56 -22.43) color: lab(55.18 16.56 -22.43)
LCH lch(55.18 27.88 306.44) color: lch(55.18 27.88 306.44)

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.74:1
vs Black 5.62: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)

#8686A0 — rgb(134, 134, 160)

Deuteranopia (Green-blind)

#87899D — rgb(135, 137, 157)

Tritanopia (Blue-blind)

#8D9795 — rgb(141, 151, 149)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(263, 22%, 58%);

text

color: hsl(263, 22%, 58%);

border

border: 2px solid hsl(263, 22%, 58%);

gradient light

background: linear-gradient(to right, hsl(263, 22%, 78%), hsl(263, 22%, 58%));

gradient dark

background: linear-gradient(to right, hsl(263, 22%, 58%), hsl(263, 22%, 38%))

hex

background-color: #8E7CAB;

tailwind

bg-[hsl(263,22%,58%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(263, 22%, 58%, 0.4);

css variable

--color-primary: hsl(263, 22%, 58%);

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(263, 22%, 58%)?

HEX: #8E7CAB | RGB: rgb(142, 124, 171) | CMYK: 17%, 27%, 0%, 33% | HSV: 263°, 27%, 67%. Copy any format from the conversion table above.

What colors go well with #8E7CAB?

The complementary color is HSL(83, 22%, 58%). For a triadic harmony, use hues 263°, 23°, and 143°. For analogous combinations, try hues 233° and 293°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(263, 22%, 58%) in CSS?

As HSL: color: hsl(263, 22%, 58%); — As HEX: color: #8E7CAB; — As RGB: color: rgb(142, 124, 171); — Tailwind CSS: bg-[hsl(263,22%,58%)] — CSS variable: --color-primary: hsl(263, 22%, 58%);