HSL(272, 78%, 68%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(272,78%,68%)]

Color Conversions

Format Value CSS Usage
HSL hsl(272, 78%, 68%) color: hsl(272, 78%, 68%)
HEX #B26EED color: #B26EED
RGB rgb(178, 110, 237) color: rgb(178, 110, 237)
CMYK cmyk(25%, 54%, 0%, 7%)
HSV hsv(272, 54%, 93%)
HWB hwb(272 43% 7%) color: hwb(272 43% 7%)
OKLCH oklch(0.6652 0.1893 306.69) color: oklch(0.6652 0.1893 306.69)
Lab lab(58.73 50.15 -54.01) color: lab(58.73 50.15 -54.01)
LCH lch(58.73 73.7 312.88) color: lch(58.73 73.7 312.88)

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 3.31:1
vs Black 6.35: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)

#9594CE — rgb(149, 148, 206)

Deuteranopia (Green-blind)

#999EC7 — rgb(153, 158, 199)

Tritanopia (Blue-blind)

#AFB6B1 — rgb(175, 182, 177)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(272, 78%, 68%);

text

color: hsl(272, 78%, 68%);

border

border: 2px solid hsl(272, 78%, 68%);

gradient light

background: linear-gradient(to right, hsl(272, 78%, 88%), hsl(272, 78%, 68%));

gradient dark

background: linear-gradient(to right, hsl(272, 78%, 68%), hsl(272, 78%, 48%))

hex

background-color: #B26EED;

tailwind

bg-[hsl(272,78%,68%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(272, 78%, 68%, 0.4);

css variable

--color-primary: hsl(272, 78%, 68%);

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(272, 78%, 68%)?

HEX: #B26EED | RGB: rgb(178, 110, 237) | CMYK: 25%, 54%, 0%, 7% | HSV: 272°, 54%, 93%. Copy any format from the conversion table above.

What colors go well with #B26EED?

The complementary color is HSL(92, 78%, 68%). For a triadic harmony, use hues 272°, 32°, and 152°. For analogous combinations, try hues 242° and 302°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(272, 78%, 68%) in CSS?

As HSL: color: hsl(272, 78%, 68%); — As HEX: color: #B26EED; — As RGB: color: rgb(178, 110, 237); — Tailwind CSS: bg-[hsl(272,78%,68%)] — CSS variable: --color-primary: hsl(272, 78%, 68%);