HSL(278, 79%, 63%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(278,79%,63%)]

Color Conversions

Format Value CSS Usage
HSL hsl(278, 79%, 63%) color: hsl(278, 79%, 63%)
HEX #B556EB color: #B556EB
RGB rgb(181, 86, 235) color: rgb(181, 86, 235)
CMYK cmyk(23%, 63%, 0%, 8%)
HSV hsv(278, 63%, 92%)
HWB hwb(278 34% 8%) color: hwb(278 34% 8%)
OKLCH oklch(0.635 0.2225 310.99) color: oklch(0.635 0.2225 310.99)
Lab lab(54.53 62.3 -59.58) color: lab(54.53 62.3 -59.58)
LCH lch(54.53 86.2 316.28) color: lch(54.53 86.2 316.28)

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.82:1
vs Black 5.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)

#8C8BC7 — rgb(140, 139, 199)

Deuteranopia (Green-blind)

#9199BE — rgb(145, 153, 190)

Tritanopia (Blue-blind)

#B0AAA4 — rgb(176, 170, 164)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(278, 79%, 63%);

text

color: hsl(278, 79%, 63%);

border

border: 2px solid hsl(278, 79%, 63%);

gradient light

background: linear-gradient(to right, hsl(278, 79%, 83%), hsl(278, 79%, 63%));

gradient dark

background: linear-gradient(to right, hsl(278, 79%, 63%), hsl(278, 79%, 43%))

hex

background-color: #B556EB;

tailwind

bg-[hsl(278,79%,63%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(278, 79%, 63%, 0.4);

css variable

--color-primary: hsl(278, 79%, 63%);

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(278, 79%, 63%)?

HEX: #B556EB | RGB: rgb(181, 86, 235) | CMYK: 23%, 63%, 0%, 8% | HSV: 278°, 63%, 92%. Copy any format from the conversion table above.

What colors go well with #B556EB?

The complementary color is HSL(98, 79%, 63%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(278, 79%, 63%) in CSS?

As HSL: color: hsl(278, 79%, 63%); — As HEX: color: #B556EB; — As RGB: color: rgb(181, 86, 235); — Tailwind CSS: bg-[hsl(278,79%,63%)] — CSS variable: --color-primary: hsl(278, 79%, 63%);