HSL(257, 70%, 76%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(257,70%,76%)]

Color Conversions

Format Value CSS Usage
HSL hsl(257, 70%, 76%) color: hsl(257, 70%, 76%)
HEX #AF97ED color: #AF97ED
RGB rgb(175, 151, 237) color: rgb(175, 151, 237)
CMYK cmyk(26%, 36%, 0%, 7%)
HSV hsv(257, 36%, 93%)
HWB hwb(257 60% 7%) color: hwb(257 60% 7%)
OKLCH oklch(0.7308 0.1242 296.02) color: oklch(0.7308 0.1242 296.02)
Lab lab(67.55 26.76 -40.11) color: lab(67.55 26.76 -40.11)
LCH lch(67.55 48.22 303.71) color: lch(67.55 48.22 303.71)

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.48:1
vs Black 8.47: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)

#A5A4D8 — rgb(165, 164, 216)

Deuteranopia (Green-blind)

#A6A8D3 — rgb(166, 168, 211)

Tritanopia (Blue-blind)

#AEC8C4 — rgb(174, 200, 196)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(257, 70%, 76%);

text

color: hsl(257, 70%, 76%);

border

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

gradient light

background: linear-gradient(to right, hsl(257, 70%, 96%), hsl(257, 70%, 76%));

gradient dark

background: linear-gradient(to right, hsl(257, 70%, 76%), hsl(257, 70%, 56%))

hex

background-color: #AF97ED;

tailwind

bg-[hsl(257,70%,76%)]

box shadow

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

css variable

--color-primary: hsl(257, 70%, 76%);

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, 70%, 76%)?

HEX: #AF97ED | RGB: rgb(175, 151, 237) | CMYK: 26%, 36%, 0%, 7% | HSV: 257°, 36%, 93%. Copy any format from the conversion table above.

What colors go well with #AF97ED?

The complementary color is HSL(77, 70%, 76%). 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, 70%, 76%) in CSS?

As HSL: color: hsl(257, 70%, 76%); — As HEX: color: #AF97ED; — As RGB: color: rgb(175, 151, 237); — Tailwind CSS: bg-[hsl(257,70%,76%)] — CSS variable: --color-primary: hsl(257, 70%, 76%);