HSL(307, 60%, 52%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(307,60%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 60%, 52%) | color: hsl(307, 60%, 52%) | |
| HEX | #CE3BBD | color: #CE3BBD | |
| RGB | rgb(206, 59, 189) | color: rgb(206, 59, 189) | |
| CMYK | cmyk(0%, 71%, 8%, 19%) | — | |
| HSV | hsv(307, 71%, 81%) | — | |
| HWB | hwb(307 23% 19%) | color: hwb(307 23% 19%) | |
| OKLCH | oklch(0.6141 0.2278 333.12) | color: oklch(0.6141 0.2278 333.12) | |
| Lab | lab(51.75 70.4 -37.56) | color: lab(51.75 70.4 -37.56) | |
| LCH | lch(51.75 79.79 331.92) | color: lch(51.75 79.79 331.92) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#8E8D9E — rgb(142, 141, 158)
Deuteranopia (Green-blind)
#97A296 — rgb(151, 162, 150)
Tritanopia (Blue-blind)
#C7857F — rgb(199, 133, 127)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 60%, 52%);
text
color: hsl(307, 60%, 52%);
border
border: 2px solid hsl(307, 60%, 52%);
gradient light
background: linear-gradient(to right, hsl(307, 60%, 72%), hsl(307, 60%, 52%));
gradient dark
background: linear-gradient(to right, hsl(307, 60%, 52%), hsl(307, 60%, 32%))
hex
background-color: #CE3BBD;
tailwind
bg-[hsl(307,60%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 60%, 52%, 0.4);
css variable
--color-primary: hsl(307, 60%, 52%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(307, 60%, 52%)?
HEX: #CE3BBD | RGB: rgb(206, 59, 189) | CMYK: 0%, 71%, 8%, 19% | HSV: 307°, 71%, 81%. Copy any format from the conversion table above.
What colors go well with #CE3BBD?
The complementary color is HSL(127, 60%, 52%). For a triadic harmony, use hues 307°, 67°, and 187°. For analogous combinations, try hues 277° and 337°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(307, 60%, 52%) in CSS?
As HSL: color: hsl(307, 60%, 52%); — As HEX: color: #CE3BBD; — As RGB: color: rgb(206, 59, 189); — Tailwind CSS: bg-[hsl(307,60%,52%)] — CSS variable: --color-primary: hsl(307, 60%, 52%);