HSL(266, 64%, 62%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(266,64%,62%)]

Color Conversions

Format Value CSS Usage
HSL hsl(266, 64%, 62%) color: hsl(266, 64%, 62%)
HEX #9660DC color: #9660DC
RGB rgb(150, 96, 220) color: rgb(150, 96, 220)
CMYK cmyk(32%, 56%, 0%, 14%)
HSV hsv(266, 56%, 86%)
HWB hwb(266 38% 14%) color: hwb(266 38% 14%)
OKLCH oklch(0.6047 0.1839 301.17) color: oklch(0.6047 0.1839 301.17)
Lab lab(51.86 46.72 -55.62) color: lab(51.86 46.72 -55.62)
LCH lch(51.86 72.64 310.03) color: lch(51.86 72.64 310.03)

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 5: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)

#7F7EBE — rgb(127, 126, 190)

Deuteranopia (Green-blind)

#8286B7 — rgb(130, 134, 183)

Tritanopia (Blue-blind)

#93A6A1 — rgb(147, 166, 161)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(266, 64%, 62%);

text

color: hsl(266, 64%, 62%);

border

border: 2px solid hsl(266, 64%, 62%);

gradient light

background: linear-gradient(to right, hsl(266, 64%, 82%), hsl(266, 64%, 62%));

gradient dark

background: linear-gradient(to right, hsl(266, 64%, 62%), hsl(266, 64%, 42%))

hex

background-color: #9660DC;

tailwind

bg-[hsl(266,64%,62%)]

box shadow

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

css variable

--color-primary: hsl(266, 64%, 62%);

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(266, 64%, 62%)?

HEX: #9660DC | RGB: rgb(150, 96, 220) | CMYK: 32%, 56%, 0%, 14% | HSV: 266°, 56%, 86%. Copy any format from the conversion table above.

What colors go well with #9660DC?

The complementary color is HSL(86, 64%, 62%). For a triadic harmony, use hues 266°, 26°, and 146°. For analogous combinations, try hues 236° and 296°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(266, 64%, 62%) in CSS?

As HSL: color: hsl(266, 64%, 62%); — As HEX: color: #9660DC; — As RGB: color: rgb(150, 96, 220); — Tailwind CSS: bg-[hsl(266,64%,62%)] — CSS variable: --color-primary: hsl(266, 64%, 62%);