HSL(262, 74%, 64%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(262,74%,64%)]

Color Conversions

Format Value CSS Usage
HSL hsl(262, 74%, 64%) color: hsl(262, 74%, 64%)
HEX #915FE7 color: #915FE7
RGB rgb(145, 95, 231) color: rgb(145, 95, 231)
CMYK cmyk(37%, 59%, 0%, 9%)
HSV hsv(262, 59%, 91%)
HWB hwb(262 37% 9%) color: hwb(262 37% 9%)
OKLCH oklch(0.6053 0.1976 297.05) color: oklch(0.6053 0.1976 297.05)
Lab lab(51.81 48.88 -61.93) color: lab(51.81 48.88 -61.93)
LCH lch(51.81 78.9 308.28) color: lch(51.81 78.9 308.28)

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.2:1
vs Black 4.99: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)

#7B7BC6 — rgb(123, 123, 198)

Deuteranopia (Green-blind)

#7E82BE — rgb(126, 130, 190)

Tritanopia (Blue-blind)

#8FACA6 — rgb(143, 172, 166)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(262, 74%, 64%);

text

color: hsl(262, 74%, 64%);

border

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

gradient light

background: linear-gradient(to right, hsl(262, 74%, 84%), hsl(262, 74%, 64%));

gradient dark

background: linear-gradient(to right, hsl(262, 74%, 64%), hsl(262, 74%, 44%))

hex

background-color: #915FE7;

tailwind

bg-[hsl(262,74%,64%)]

box shadow

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

css variable

--color-primary: hsl(262, 74%, 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(262, 74%, 64%)?

HEX: #915FE7 | RGB: rgb(145, 95, 231) | CMYK: 37%, 59%, 0%, 9% | HSV: 262°, 59%, 91%. Copy any format from the conversion table above.

What colors go well with #915FE7?

The complementary color is HSL(82, 74%, 64%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(262, 74%, 64%); — As HEX: color: #915FE7; — As RGB: color: rgb(145, 95, 231); — Tailwind CSS: bg-[hsl(262,74%,64%)] — CSS variable: --color-primary: hsl(262, 74%, 64%);