HSL(288, 50%, 73%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(288,50%,73%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(288, 50%, 73%) | color: hsl(288, 50%, 73%) | |
| HEX | #CF98DD | color: #CF98DD | |
| RGB | rgb(207, 152, 221) | color: rgb(207, 152, 221) | |
| CMYK | cmyk(6%, 31%, 0%, 13%) | — | |
| HSV | hsv(288, 31%, 87%) | — | |
| HWB | hwb(288 60% 13%) | color: hwb(288 60% 13%) | |
| OKLCH | oklch(0.7554 0.1133 319.34) | color: oklch(0.7554 0.1133 319.34) | |
| Lab | lab(70.14 32.38 -27.06) | color: lab(70.14 32.38 -27.06) | |
| LCH | lch(70.14 42.2 320.11) | color: lch(70.14 42.2 320.11) |
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)
#B7B7CC — rgb(183, 183, 204)
Deuteranopia (Green-blind)
#BABFC8 — rgb(186, 191, 200)
Tritanopia (Blue-blind)
#CCBFBC — rgb(204, 191, 188)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(288, 50%, 73%);
text
color: hsl(288, 50%, 73%);
border
border: 2px solid hsl(288, 50%, 73%);
gradient light
background: linear-gradient(to right, hsl(288, 50%, 93%), hsl(288, 50%, 73%));
gradient dark
background: linear-gradient(to right, hsl(288, 50%, 73%), hsl(288, 50%, 53%))
hex
background-color: #CF98DD;
tailwind
bg-[hsl(288,50%,73%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(288, 50%, 73%, 0.4);
css variable
--color-primary: hsl(288, 50%, 73%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(288, 50%, 73%)?
HEX: #CF98DD | RGB: rgb(207, 152, 221) | CMYK: 6%, 31%, 0%, 13% | HSV: 288°, 31%, 87%. Copy any format from the conversion table above.
What colors go well with #CF98DD?
The complementary color is HSL(108, 50%, 73%). For a triadic harmony, use hues 288°, 48°, and 168°. For analogous combinations, try hues 258° and 318°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(288, 50%, 73%) in CSS?
As HSL: color: hsl(288, 50%, 73%); — As HEX: color: #CF98DD; — As RGB: color: rgb(207, 152, 221); — Tailwind CSS: bg-[hsl(288,50%,73%)] — CSS variable: --color-primary: hsl(288, 50%, 73%);