HSL(282, 83%, 52%)

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,83%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(282, 83%, 52%) color: hsl(282, 83%, 52%)
HEX #AD1FEA color: #AD1FEA
RGB rgb(173, 31, 234) color: rgb(173, 31, 234)
CMYK cmyk(26%, 87%, 0%, 8%)
HSV hsv(282, 87%, 92%)
HWB hwb(282 12% 8%) color: hwb(282 12% 8%)
OKLCH oklch(0.5773 0.2729 311.79) color: oklch(0.5773 0.2729 311.79)
Lab lab(46.72 79.56 -71.7) color: lab(46.72 79.56 -71.7)
LCH lch(46.72 107.1 317.97) color: lch(46.72 107.1 317.97)

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 5.05:1
vs Black 4.16: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)

#706EB9 — rgb(112, 110, 185)

Deuteranopia (Green-blind)

#7882AD — rgb(120, 130, 173)

Tritanopia (Blue-blind)

#A6928A — rgb(166, 146, 138)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(282, 83%, 52%);

text

color: hsl(282, 83%, 52%);

border

border: 2px solid hsl(282, 83%, 52%);

gradient light

background: linear-gradient(to right, hsl(282, 83%, 72%), hsl(282, 83%, 52%));

gradient dark

background: linear-gradient(to right, hsl(282, 83%, 52%), hsl(282, 83%, 32%))

hex

background-color: #AD1FEA;

tailwind

bg-[hsl(282,83%,52%)]

box shadow

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

css variable

--color-primary: hsl(282, 83%, 52%);

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

HEX: #AD1FEA | RGB: rgb(173, 31, 234) | CMYK: 26%, 87%, 0%, 8% | HSV: 282°, 87%, 92%. Copy any format from the conversion table above.

What colors go well with #AD1FEA?

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

As HSL: color: hsl(282, 83%, 52%); — As HEX: color: #AD1FEA; — As RGB: color: rgb(173, 31, 234); — Tailwind CSS: bg-[hsl(282,83%,52%)] — CSS variable: --color-primary: hsl(282, 83%, 52%);