HSL(282, 94%, 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(282,94%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(282, 94%, 50%) color: hsl(282, 94%, 50%)
HEX #AF08F7 color: #AF08F7
RGB rgb(175, 8, 247) color: rgb(175, 8, 247)
CMYK cmyk(29%, 97%, 0%, 3%)
HSV hsv(282, 97%, 97%)
HWB hwb(282 3% 3%) color: hwb(282 3% 3%)
OKLCH oklch(0.5828 0.2919 310.03) color: oklch(0.5828 0.2919 310.03)
Lab lab(46.98 85.38 -78.59) color: lab(46.98 85.38 -78.59)
LCH lch(46.98 116.04 317.37) color: lch(46.98 116.04 317.37)

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

#6765BD — rgb(103, 101, 189)

Deuteranopia (Green-blind)

#707DAF — rgb(112, 125, 175)

Tritanopia (Blue-blind)

#A79085 — rgb(167, 144, 133)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(282, 94%, 50%);

text

color: hsl(282, 94%, 50%);

border

border: 2px solid hsl(282, 94%, 50%);

gradient light

background: linear-gradient(to right, hsl(282, 94%, 70%), hsl(282, 94%, 50%));

gradient dark

background: linear-gradient(to right, hsl(282, 94%, 50%), hsl(282, 94%, 30%))

hex

background-color: #AF08F7;

tailwind

bg-[hsl(282,94%,50%)]

box shadow

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

css variable

--color-primary: hsl(282, 94%, 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(282, 94%, 50%)?

HEX: #AF08F7 | RGB: rgb(175, 8, 247) | CMYK: 29%, 97%, 0%, 3% | HSV: 282°, 97%, 97%. Copy any format from the conversion table above.

What colors go well with #AF08F7?

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

As HSL: color: hsl(282, 94%, 50%); — As HEX: color: #AF08F7; — As RGB: color: rgb(175, 8, 247); — Tailwind CSS: bg-[hsl(282,94%,50%)] — CSS variable: --color-primary: hsl(282, 94%, 50%);