HSL(262, 90%, 66%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(262,90%,66%)]

Color Conversions

Format Value CSS Usage
HSL hsl(262, 90%, 66%) color: hsl(262, 90%, 66%)
HEX #935AF6 color: #935AF6
RGB rgb(147, 90, 246) color: rgb(147, 90, 246)
CMYK cmyk(40%, 63%, 0%, 4%)
HSV hsv(262, 63%, 96%)
HWB hwb(262 36% 4%) color: hwb(262 36% 4%)
OKLCH oklch(0.6106 0.2219 295.95) color: oklch(0.6106 0.2219 295.95)
Lab lab(52.03 55.77 -69.96) color: lab(52.03 55.77 -69.96)
LCH lch(52.03 89.47 308.56) color: lch(52.03 89.47 308.56)

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.17:1
vs Black 5.03: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)

#7A7AD0 — rgb(122, 122, 208)

Deuteranopia (Green-blind)

#7E82C7 — rgb(126, 130, 199)

Tritanopia (Blue-blind)

#90B2AC — rgb(144, 178, 172)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(262, 90%, 66%);

text

color: hsl(262, 90%, 66%);

border

border: 2px solid hsl(262, 90%, 66%);

gradient light

background: linear-gradient(to right, hsl(262, 90%, 86%), hsl(262, 90%, 66%));

gradient dark

background: linear-gradient(to right, hsl(262, 90%, 66%), hsl(262, 90%, 46%))

hex

background-color: #935AF6;

tailwind

bg-[hsl(262,90%,66%)]

box shadow

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

css variable

--color-primary: hsl(262, 90%, 66%);

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, 90%, 66%)?

HEX: #935AF6 | RGB: rgb(147, 90, 246) | CMYK: 40%, 63%, 0%, 4% | HSV: 262°, 63%, 96%. Copy any format from the conversion table above.

What colors go well with #935AF6?

The complementary color is HSL(82, 90%, 66%). 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, 90%, 66%) in CSS?

As HSL: color: hsl(262, 90%, 66%); — As HEX: color: #935AF6; — As RGB: color: rgb(147, 90, 246); — Tailwind CSS: bg-[hsl(262,90%,66%)] — CSS variable: --color-primary: hsl(262, 90%, 66%);