HSL(304, 69%, 47%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(304,69%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(304, 69%, 47%) | color: hsl(304, 69%, 47%) | |
| HEX | #CB25C0 | color: #CB25C0 | |
| RGB | rgb(203, 37, 192) | color: rgb(203, 37, 192) | |
| CMYK | cmyk(0%, 82%, 5%, 20%) | — | |
| HSV | hsv(304, 82%, 80%) | — | |
| HWB | hwb(304 14% 20%) | color: hwb(304 14% 20%) | |
| OKLCH | oklch(0.596 0.2486 331.31) | color: oklch(0.596 0.2486 331.31) | |
| Lab | lab(49.29 76.3 -43.23) | color: lab(49.29 76.3 -43.23) | |
| LCH | lch(49.29 87.7 330.47) | color: lch(49.29 87.7 330.47) |
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)
#83829A — rgb(131, 130, 154)
Deuteranopia (Green-blind)
#8D9992 — rgb(141, 153, 146)
Tritanopia (Blue-blind)
#C37D76 — rgb(195, 125, 118)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(304, 69%, 47%);
text
color: hsl(304, 69%, 47%);
border
border: 2px solid hsl(304, 69%, 47%);
gradient light
background: linear-gradient(to right, hsl(304, 69%, 67%), hsl(304, 69%, 47%));
gradient dark
background: linear-gradient(to right, hsl(304, 69%, 47%), hsl(304, 69%, 27%))
hex
background-color: #CB25C0;
tailwind
bg-[hsl(304,69%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(304, 69%, 47%, 0.4);
css variable
--color-primary: hsl(304, 69%, 47%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(304, 69%, 47%)?
HEX: #CB25C0 | RGB: rgb(203, 37, 192) | CMYK: 0%, 82%, 5%, 20% | HSV: 304°, 82%, 80%. Copy any format from the conversion table above.
What colors go well with #CB25C0?
The complementary color is HSL(124, 69%, 47%). For a triadic harmony, use hues 304°, 64°, and 184°. For analogous combinations, try hues 274° and 334°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(304, 69%, 47%) in CSS?
As HSL: color: hsl(304, 69%, 47%); — As HEX: color: #CB25C0; — As RGB: color: rgb(203, 37, 192); — Tailwind CSS: bg-[hsl(304,69%,47%)] — CSS variable: --color-primary: hsl(304, 69%, 47%);