HSL(302, 90%, 42%)
Vivid Purple — Purple color
Adjust Color
Color Information
Color Name
Vivid Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(302,90%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 90%, 42%) | color: hsl(302, 90%, 42%) | |
| HEX | #CB0BC5 | color: #CB0BC5 | |
| RGB | rgb(203, 11, 197) | color: rgb(203, 11, 197) | |
| CMYK | cmyk(0%, 95%, 3%, 20%) | — | |
| HSV | hsv(302, 95%, 80%) | — | |
| HWB | hwb(302 4% 20%) | color: hwb(302 4% 20%) | |
| OKLCH | oklch(0.5894 0.2648 329.95) | color: oklch(0.5894 0.2648 329.95) | |
| Lab | lab(48.22 80.97 -47.83) | color: lab(48.22 80.97 -47.83) | |
| LCH | lch(48.22 94.04 329.43) | color: lch(48.22 94.04 329.43) |
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)
#787698 — rgb(120, 118, 152)
Deuteranopia (Green-blind)
#83918D — rgb(131, 145, 141)
Tritanopia (Blue-blind)
#C1746D — rgb(193, 116, 109)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 90%, 42%);
text
color: hsl(302, 90%, 42%);
border
border: 2px solid hsl(302, 90%, 42%);
gradient light
background: linear-gradient(to right, hsl(302, 90%, 62%), hsl(302, 90%, 42%));
gradient dark
background: linear-gradient(to right, hsl(302, 90%, 42%), hsl(302, 90%, 22%))
hex
background-color: #CB0BC5;
tailwind
bg-[hsl(302,90%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 90%, 42%, 0.4);
css variable
--color-primary: hsl(302, 90%, 42%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 90%, 42%)?
HEX: #CB0BC5 | RGB: rgb(203, 11, 197) | CMYK: 0%, 95%, 3%, 20% | HSV: 302°, 95%, 80%. Copy any format from the conversion table above.
What colors go well with #CB0BC5?
The complementary color is HSL(122, 90%, 42%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(302, 90%, 42%) in CSS?
As HSL: color: hsl(302, 90%, 42%); — As HEX: color: #CB0BC5; — As RGB: color: rgb(203, 11, 197); — Tailwind CSS: bg-[hsl(302,90%,42%)] — CSS variable: --color-primary: hsl(302, 90%, 42%);