HSL(290, 90%, 42%)
Vivid Purple — Purple color
Adjust Color
Color Information
Color Name
Vivid Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(290,90%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(290, 90%, 42%) | color: hsl(290, 90%, 42%) | |
| HEX | #AB0BCB | color: #AB0BCB | |
| RGB | rgb(171, 11, 203) | color: rgb(171, 11, 203) | |
| CMYK | cmyk(16%, 95%, 0%, 20%) | — | |
| HSV | hsv(290, 95%, 80%) | — | |
| HWB | hwb(290 4% 20%) | color: hwb(290 4% 20%) | |
| OKLCH | oklch(0.5443 0.2578 319.13) | color: oklch(0.5443 0.2578 319.13) | |
| Lab | lab(43.08 76.82 -59.87) | color: lab(43.08 76.82 -59.87) | |
| LCH | lch(43.08 97.39 322.07) | color: lch(43.08 97.39 322.07) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#66649D — rgb(102, 100, 157)
Deuteranopia (Green-blind)
#6F7B91 — rgb(111, 123, 145)
Tritanopia (Blue-blind)
#A37870 — rgb(163, 120, 112)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(290, 90%, 42%);
text
color: hsl(290, 90%, 42%);
border
border: 2px solid hsl(290, 90%, 42%);
gradient light
background: linear-gradient(to right, hsl(290, 90%, 62%), hsl(290, 90%, 42%));
gradient dark
background: linear-gradient(to right, hsl(290, 90%, 42%), hsl(290, 90%, 22%))
hex
background-color: #AB0BCB;
tailwind
bg-[hsl(290,90%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(290, 90%, 42%, 0.4);
css variable
--color-primary: hsl(290, 90%, 42%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(290, 90%, 42%)?
HEX: #AB0BCB | RGB: rgb(171, 11, 203) | CMYK: 16%, 95%, 0%, 20% | HSV: 290°, 95%, 80%. Copy any format from the conversion table above.
What colors go well with #AB0BCB?
The complementary color is HSL(110, 90%, 42%). For a triadic harmony, use hues 290°, 50°, and 170°. For analogous combinations, try hues 260° and 320°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(290, 90%, 42%) in CSS?
As HSL: color: hsl(290, 90%, 42%); — As HEX: color: #AB0BCB; — As RGB: color: rgb(171, 11, 203); — Tailwind CSS: bg-[hsl(290,90%,42%)] — CSS variable: --color-primary: hsl(290, 90%, 42%);