HSL(307, 58%, 55%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(307,58%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 58%, 55%) | color: hsl(307, 58%, 55%) | |
| HEX | #CF4ABF | color: #CF4ABF | |
| RGB | rgb(207, 74, 191) | color: rgb(207, 74, 191) | |
| CMYK | cmyk(0%, 64%, 8%, 19%) | — | |
| HSV | hsv(307, 64%, 81%) | — | |
| HWB | hwb(307 29% 19%) | color: hwb(307 29% 19%) | |
| OKLCH | oklch(0.6306 0.2117 332.89) | color: oklch(0.6306 0.2117 332.89) | |
| Lab | lab(53.95 65.49 -35.26) | color: lab(53.95 65.49 -35.26) | |
| LCH | lch(53.95 74.38 331.7) | color: lch(53.95 74.38 331.7) |
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)
#9594A3 — rgb(149, 148, 163)
Deuteranopia (Green-blind)
#9DA79C — rgb(157, 167, 156)
Tritanopia (Blue-blind)
#C88C87 — rgb(200, 140, 135)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 58%, 55%);
text
color: hsl(307, 58%, 55%);
border
border: 2px solid hsl(307, 58%, 55%);
gradient light
background: linear-gradient(to right, hsl(307, 58%, 75%), hsl(307, 58%, 55%));
gradient dark
background: linear-gradient(to right, hsl(307, 58%, 55%), hsl(307, 58%, 35%))
hex
background-color: #CF4ABF;
tailwind
bg-[hsl(307,58%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 58%, 55%, 0.4);
css variable
--color-primary: hsl(307, 58%, 55%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(307, 58%, 55%)?
HEX: #CF4ABF | RGB: rgb(207, 74, 191) | CMYK: 0%, 64%, 8%, 19% | HSV: 307°, 64%, 81%. Copy any format from the conversion table above.
What colors go well with #CF4ABF?
The complementary color is HSL(127, 58%, 55%). 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, 58%, 55%) in CSS?
As HSL: color: hsl(307, 58%, 55%); — As HEX: color: #CF4ABF; — As RGB: color: rgb(207, 74, 191); — Tailwind CSS: bg-[hsl(307,58%,55%)] — CSS variable: --color-primary: hsl(307, 58%, 55%);