HSL(257, 95%, 64%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(257,95%,64%)]

Color Conversions

Format Value CSS Usage
HSL hsl(257, 95%, 64%) color: hsl(257, 95%, 64%)
HEX #7D4CFA color: #7D4CFA
RGB rgb(125, 76, 250) color: rgb(125, 76, 250)
CMYK cmyk(50%, 70%, 0%, 2%)
HSV hsv(257, 70%, 98%)
HWB hwb(257 29% 2%) color: hwb(257 29% 2%)
OKLCH oklch(0.5741 0.2423 289.38) color: oklch(0.5741 0.2423 289.38)
Lab lab(47.53 60 -79.61) color: lab(47.53 60 -79.61)
LCH lch(47.53 99.69 307) color: lch(47.53 99.69 307)

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.9:1
vs Black 4.29: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)

#6867D0 — rgb(104, 103, 208)

Deuteranopia (Green-blind)

#6B6EC6 — rgb(107, 110, 198)

Tritanopia (Blue-blind)

#7BAFA7 — rgb(123, 175, 167)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(257, 95%, 64%);

text

color: hsl(257, 95%, 64%);

border

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

gradient light

background: linear-gradient(to right, hsl(257, 95%, 84%), hsl(257, 95%, 64%));

gradient dark

background: linear-gradient(to right, hsl(257, 95%, 64%), hsl(257, 95%, 44%))

hex

background-color: #7D4CFA;

tailwind

bg-[hsl(257,95%,64%)]

box shadow

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

css variable

--color-primary: hsl(257, 95%, 64%);

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, 95%, 64%)?

HEX: #7D4CFA | RGB: rgb(125, 76, 250) | CMYK: 50%, 70%, 0%, 2% | HSV: 257°, 70%, 98%. Copy any format from the conversion table above.

What colors go well with #7D4CFA?

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

As HSL: color: hsl(257, 95%, 64%); — As HEX: color: #7D4CFA; — As RGB: color: rgb(125, 76, 250); — Tailwind CSS: bg-[hsl(257,95%,64%)] — CSS variable: --color-primary: hsl(257, 95%, 64%);