HSL(284, 90%, 50%)

Vivid Indigo — Indigo color

Adjust Color

Color Information

Color Name

Vivid Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(284,90%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(284, 90%, 50%) color: hsl(284, 90%, 50%)
HEX #B50DF2 color: #B50DF2
RGB rgb(181, 13, 242) color: rgb(181, 13, 242)
CMYK cmyk(25%, 95%, 0%, 5%)
HSV hsv(284, 95%, 95%)
HWB hwb(284 5% 5%) color: hwb(284 5% 5%)
OKLCH oklch(0.5881 0.2885 312.77) color: oklch(0.5881 0.2885 312.77)
Lab lab(47.65 84.77 -74.64) color: lab(47.65 84.77 -74.64)
LCH lch(47.65 112.95 318.64) color: lch(47.65 112.95 318.64)

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.88:1
vs Black 4.3: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)

#6C6BBB — rgb(108, 107, 187)

Deuteranopia (Green-blind)

#7683AD — rgb(118, 131, 173)

Tritanopia (Blue-blind)

#AD8F85 — rgb(173, 143, 133)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(284, 90%, 50%);

text

color: hsl(284, 90%, 50%);

border

border: 2px solid hsl(284, 90%, 50%);

gradient light

background: linear-gradient(to right, hsl(284, 90%, 70%), hsl(284, 90%, 50%));

gradient dark

background: linear-gradient(to right, hsl(284, 90%, 50%), hsl(284, 90%, 30%))

hex

background-color: #B50DF2;

tailwind

bg-[hsl(284,90%,50%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(284, 90%, 50%, 0.4);

css variable

--color-primary: hsl(284, 90%, 50%);

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(284, 90%, 50%)?

HEX: #B50DF2 | RGB: rgb(181, 13, 242) | CMYK: 25%, 95%, 0%, 5% | HSV: 284°, 95%, 95%. Copy any format from the conversion table above.

What colors go well with #B50DF2?

The complementary color is HSL(104, 90%, 50%). For a triadic harmony, use hues 284°, 44°, and 164°. For analogous combinations, try hues 254° and 314°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(284, 90%, 50%) in CSS?

As HSL: color: hsl(284, 90%, 50%); — As HEX: color: #B50DF2; — As RGB: color: rgb(181, 13, 242); — Tailwind CSS: bg-[hsl(284,90%,50%)] — CSS variable: --color-primary: hsl(284, 90%, 50%);