HSL(257, 100%, 78%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(257,100%,78%)]

Color Conversions

Format Value CSS Usage
HSL hsl(257, 100%, 78%) color: hsl(257, 100%, 78%)
HEX #AF8FFF color: #AF8FFF
RGB rgb(175, 143, 255) color: rgb(175, 143, 255)
CMYK cmyk(31%, 44%, 0%, 0%)
HSV hsv(257, 44%, 100%)
HWB hwb(257 56% 0%) color: hwb(257 56% 0%)
OKLCH oklch(0.7256 0.1603 295.28) color: oklch(0.7256 0.1603 295.28)
Lab lab(66.5 35.65 -51.6) color: lab(66.5 35.65 -51.6)
LCH lch(66.5 62.72 304.64) color: lch(66.5 62.72 304.64)

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.56:1
vs Black 8.2: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)

#A1A1E4 — rgb(161, 161, 228)

Deuteranopia (Green-blind)

#A3A5DD — rgb(163, 165, 221)

Tritanopia (Blue-blind)

#ADCFCA — rgb(173, 207, 202)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(257, 100%, 78%);

text

color: hsl(257, 100%, 78%);

border

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

gradient light

background: linear-gradient(to right, hsl(257, 100%, 98%), hsl(257, 100%, 78%));

gradient dark

background: linear-gradient(to right, hsl(257, 100%, 78%), hsl(257, 100%, 58%))

hex

background-color: #AF8FFF;

tailwind

bg-[hsl(257,100%,78%)]

box shadow

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

css variable

--color-primary: hsl(257, 100%, 78%);

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, 100%, 78%)?

HEX: #AF8FFF | RGB: rgb(175, 143, 255) | CMYK: 31%, 44%, 0%, 0% | HSV: 257°, 44%, 100%. Copy any format from the conversion table above.

What colors go well with #AF8FFF?

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

As HSL: color: hsl(257, 100%, 78%); — As HEX: color: #AF8FFF; — As RGB: color: rgb(175, 143, 255); — Tailwind CSS: bg-[hsl(257,100%,78%)] — CSS variable: --color-primary: hsl(257, 100%, 78%);