HSL(282, 84%, 54%)

Vivid Indigo — Indigo color

Adjust Color

Color Information

Color Name

Vivid Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(282,84%,54%)]

Color Conversions

Format Value CSS Usage
HSL hsl(282, 84%, 54%) color: hsl(282, 84%, 54%)
HEX #B127EC color: #B127EC
RGB rgb(177, 39, 236) color: rgb(177, 39, 236)
CMYK cmyk(25%, 83%, 0%, 7%)
HSV hsv(282, 83%, 93%)
HWB hwb(282 16% 7%) color: hwb(282 16% 7%)
OKLCH oklch(0.5884 0.2706 312.29) color: oklch(0.5884 0.2706 312.29)
Lab lab(48.08 78.72 -70.59) color: lab(48.08 78.72 -70.59)
LCH lch(48.08 105.73 318.12) color: lch(48.08 105.73 318.12)

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 4.8:1
vs Black 4.37:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#7574BC — rgb(117, 116, 188)

Deuteranopia (Green-blind)

#7D88B1 — rgb(125, 136, 177)

Tritanopia (Blue-blind)

#AA978E — rgb(170, 151, 142)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(282, 84%, 54%);

text

color: hsl(282, 84%, 54%);

border

border: 2px solid hsl(282, 84%, 54%);

gradient light

background: linear-gradient(to right, hsl(282, 84%, 74%), hsl(282, 84%, 54%));

gradient dark

background: linear-gradient(to right, hsl(282, 84%, 54%), hsl(282, 84%, 34%))

hex

background-color: #B127EC;

tailwind

bg-[hsl(282,84%,54%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(282, 84%, 54%, 0.4);

css variable

--color-primary: hsl(282, 84%, 54%);

Related Colors

Use Cases for Vivid Indigo

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(282, 84%, 54%)?

HEX: #B127EC | RGB: rgb(177, 39, 236) | CMYK: 25%, 83%, 0%, 7% | HSV: 282°, 83%, 93%. Copy any format from the conversion table above.

What colors go well with #B127EC?

The complementary color is HSL(102, 84%, 54%). For a triadic harmony, use hues 282°, 42°, and 162°. For analogous combinations, try hues 252° and 312°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(282, 84%, 54%) in CSS?

As HSL: color: hsl(282, 84%, 54%); — As HEX: color: #B127EC; — As RGB: color: rgb(177, 39, 236); — Tailwind CSS: bg-[hsl(282,84%,54%)] — CSS variable: --color-primary: hsl(282, 84%, 54%);