HSL(262, 31%, 70%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(262,31%,70%)]

Color Conversions

Format Value CSS Usage
HSL hsl(262, 31%, 70%) color: hsl(262, 31%, 70%)
HEX #AC9BCA color: #AC9BCA
RGB rgb(172, 155, 202) color: rgb(172, 155, 202)
CMYK cmyk(15%, 23%, 0%, 21%)
HSV hsv(262, 23%, 79%)
HWB hwb(262 61% 21%) color: hwb(262 61% 21%)
OKLCH oklch(0.7205 0.0696 301.21) color: oklch(0.7205 0.0696 301.21)
Lab lab(66.88 15.53 -21.82) color: lab(66.88 15.53 -21.82)
LCH lch(66.88 26.78 305.44) color: lch(66.88 26.78 305.44)

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.53:1
vs Black 8.3: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)

#A5A4BF — rgb(165, 164, 191)

Deuteranopia (Green-blind)

#A6A7BC — rgb(166, 167, 188)

Tritanopia (Blue-blind)

#ABB6B4 — rgb(171, 182, 180)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(262, 31%, 70%);

text

color: hsl(262, 31%, 70%);

border

border: 2px solid hsl(262, 31%, 70%);

gradient light

background: linear-gradient(to right, hsl(262, 31%, 90%), hsl(262, 31%, 70%));

gradient dark

background: linear-gradient(to right, hsl(262, 31%, 70%), hsl(262, 31%, 50%))

hex

background-color: #AC9BCA;

tailwind

bg-[hsl(262,31%,70%)]

box shadow

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

css variable

--color-primary: hsl(262, 31%, 70%);

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, 31%, 70%)?

HEX: #AC9BCA | RGB: rgb(172, 155, 202) | CMYK: 15%, 23%, 0%, 21% | HSV: 262°, 23%, 79%. Copy any format from the conversion table above.

What colors go well with #AC9BCA?

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

As HSL: color: hsl(262, 31%, 70%); — As HEX: color: #AC9BCA; — As RGB: color: rgb(172, 155, 202); — Tailwind CSS: bg-[hsl(262,31%,70%)] — CSS variable: --color-primary: hsl(262, 31%, 70%);