HSL(257, 74%, 74%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(257,74%,74%)]

Color Conversions

Format Value CSS Usage
HSL hsl(257, 74%, 74%) color: hsl(257, 74%, 74%)
HEX #A78CEE color: #A78CEE
RGB rgb(167, 140, 238) color: rgb(167, 140, 238)
CMYK cmyk(30%, 41%, 0%, 7%)
HSV hsv(257, 41%, 93%)
HWB hwb(257 55% 7%) color: hwb(257 55% 7%)
OKLCH oklch(0.7044 0.1418 295.2) color: oklch(0.7044 0.1418 295.2)
Lab lab(64.28 30.98 -45.83) color: lab(64.28 30.98 -45.83)
LCH lch(64.28 55.32 304.06) color: lch(64.28 55.32 304.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 2.75:1
vs Black 7.63:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#9B9BD6 — rgb(155, 155, 214)

Deuteranopia (Green-blind)

#9D9FD1 — rgb(157, 159, 209)

Tritanopia (Blue-blind)

#A6C4BF — rgb(166, 196, 191)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(257, 74%, 74%);

text

color: hsl(257, 74%, 74%);

border

border: 2px solid hsl(257, 74%, 74%);

gradient light

background: linear-gradient(to right, hsl(257, 74%, 94%), hsl(257, 74%, 74%));

gradient dark

background: linear-gradient(to right, hsl(257, 74%, 74%), hsl(257, 74%, 54%))

hex

background-color: #A78CEE;

tailwind

bg-[hsl(257,74%,74%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(257, 74%, 74%, 0.4);

css variable

--color-primary: hsl(257, 74%, 74%);

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(257, 74%, 74%)?

HEX: #A78CEE | RGB: rgb(167, 140, 238) | CMYK: 30%, 41%, 0%, 7% | HSV: 257°, 41%, 93%. Copy any format from the conversion table above.

What colors go well with #A78CEE?

The complementary color is HSL(77, 74%, 74%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(257, 74%, 74%) in CSS?

As HSL: color: hsl(257, 74%, 74%); — As HEX: color: #A78CEE; — As RGB: color: rgb(167, 140, 238); — Tailwind CSS: bg-[hsl(257,74%,74%)] — CSS variable: --color-primary: hsl(257, 74%, 74%);