HSL(288, 50%, 74%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(288,50%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(288, 50%, 74%) | color: hsl(288, 50%, 74%) | |
| HEX | #D19CDE | color: #D19CDE | |
| RGB | rgb(209, 156, 222) | color: rgb(209, 156, 222) | |
| CMYK | cmyk(6%, 30%, 0%, 13%) | — | |
| HSV | hsv(288, 30%, 87%) | — | |
| HWB | hwb(288 61% 13%) | color: hwb(288 61% 13%) | |
| OKLCH | oklch(0.7647 0.1084 319.58) | color: oklch(0.7647 0.1084 319.58) | |
| Lab | lab(71.29 31.03 -25.83) | color: lab(71.29 31.03 -25.83) | |
| LCH | lch(71.29 40.37 320.23) | color: lch(71.29 40.37 320.23) |
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)
#BABACE — rgb(186, 186, 206)
Deuteranopia (Green-blind)
#BDC1CA — rgb(189, 193, 202)
Tritanopia (Blue-blind)
#CEC1BF — rgb(206, 193, 191)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(288, 50%, 74%);
text
color: hsl(288, 50%, 74%);
border
border: 2px solid hsl(288, 50%, 74%);
gradient light
background: linear-gradient(to right, hsl(288, 50%, 94%), hsl(288, 50%, 74%));
gradient dark
background: linear-gradient(to right, hsl(288, 50%, 74%), hsl(288, 50%, 54%))
hex
background-color: #D19CDE;
tailwind
bg-[hsl(288,50%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(288, 50%, 74%, 0.4);
css variable
--color-primary: hsl(288, 50%, 74%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(288, 50%, 74%)?
HEX: #D19CDE | RGB: rgb(209, 156, 222) | CMYK: 6%, 30%, 0%, 13% | HSV: 288°, 30%, 87%. Copy any format from the conversion table above.
What colors go well with #D19CDE?
The complementary color is HSL(108, 50%, 74%). 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%, 74%) in CSS?
As HSL: color: hsl(288, 50%, 74%); — As HEX: color: #D19CDE; — As RGB: color: rgb(209, 156, 222); — Tailwind CSS: bg-[hsl(288,50%,74%)] — CSS variable: --color-primary: hsl(288, 50%, 74%);