HSL(266, 72%, 72%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(266,72%,72%)]

Color Conversions

Format Value CSS Usage
HSL hsl(266, 72%, 72%) color: hsl(266, 72%, 72%)
HEX #B184EB color: #B184EB
RGB rgb(177, 132, 235) color: rgb(177, 132, 235)
CMYK cmyk(25%, 44%, 0%, 8%)
HSV hsv(266, 44%, 92%)
HWB hwb(266 52% 8%) color: hwb(266 52% 8%)
OKLCH oklch(0.6981 0.1522 302.81) color: oklch(0.6981 0.1522 302.81)
Lab lab(63.22 37.49 -45.79) color: lab(63.22 37.49 -45.79)
LCH lch(63.22 59.18 309.31) color: lch(63.22 59.18 309.31)

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)

#9E9DD2 — rgb(158, 157, 210)

Deuteranopia (Green-blind)

#A0A4CC — rgb(160, 164, 204)

Tritanopia (Blue-blind)

#AFBEBA — rgb(175, 190, 186)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(266, 72%, 72%);

text

color: hsl(266, 72%, 72%);

border

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

gradient light

background: linear-gradient(to right, hsl(266, 72%, 92%), hsl(266, 72%, 72%));

gradient dark

background: linear-gradient(to right, hsl(266, 72%, 72%), hsl(266, 72%, 52%))

hex

background-color: #B184EB;

tailwind

bg-[hsl(266,72%,72%)]

box shadow

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

css variable

--color-primary: hsl(266, 72%, 72%);

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

HEX: #B184EB | RGB: rgb(177, 132, 235) | CMYK: 25%, 44%, 0%, 8% | HSV: 266°, 44%, 92%. Copy any format from the conversion table above.

What colors go well with #B184EB?

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

As HSL: color: hsl(266, 72%, 72%); — As HEX: color: #B184EB; — As RGB: color: rgb(177, 132, 235); — Tailwind CSS: bg-[hsl(266,72%,72%)] — CSS variable: --color-primary: hsl(266, 72%, 72%);