HSL(262, 51%, 70%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(262, 51%, 70%) color: hsl(262, 51%, 70%)
HEX #A88BDA color: #A88BDA
RGB rgb(168, 139, 218) color: rgb(168, 139, 218)
CMYK cmyk(23%, 36%, 0%, 15%)
HSV hsv(262, 36%, 85%)
HWB hwb(262 54% 15%) color: hwb(262 54% 15%)
OKLCH oklch(0.6936 0.117 300.27) color: oklch(0.6936 0.117 300.27)
Lab lab(63.22 26.98 -36.4) color: lab(63.22 26.98 -36.4)
LCH lch(63.22 45.31 306.55) color: lch(63.22 45.31 306.55)

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.85:1
vs Black 7.37: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)

#9B9BC7 — rgb(155, 155, 199)

Deuteranopia (Green-blind)

#9D9FC2 — rgb(157, 159, 194)

Tritanopia (Blue-blind)

#A7B8B4 — rgb(167, 184, 180)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #A88BDA;

tailwind

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

box shadow

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

css variable

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

HEX: #A88BDA | RGB: rgb(168, 139, 218) | CMYK: 23%, 36%, 0%, 15% | HSV: 262°, 36%, 85%. Copy any format from the conversion table above.

What colors go well with #A88BDA?

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

As HSL: color: hsl(262, 51%, 70%); — As HEX: color: #A88BDA; — As RGB: color: rgb(168, 139, 218); — Tailwind CSS: bg-[hsl(262,51%,70%)] — CSS variable: --color-primary: hsl(262, 51%, 70%);