HSL(304, 32%, 74%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(304,32%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(304, 32%, 74%) | color: hsl(304, 32%, 74%) | |
| HEX | #D2A7CF | color: #D2A7CF | |
| RGB | rgb(210, 167, 207) | color: rgb(210, 167, 207) | |
| CMYK | cmyk(0%, 20%, 1%, 18%) | — | |
| HSV | hsv(304, 20%, 82%) | — | |
| HWB | hwb(304 66% 18%) | color: hwb(304 66% 18%) | |
| OKLCH | oklch(0.7798 0.0734 328.54) | color: oklch(0.7798 0.0734 328.54) | |
| Lab | lab(73.45 22.5 -14.31) | color: lab(73.45 22.5 -14.31) | |
| LCH | lch(73.45 26.67 327.54) | color: lch(73.45 26.67 327.54) |
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)
#BFBFC5 — rgb(191, 191, 197)
Deuteranopia (Green-blind)
#C2C5C3 — rgb(194, 197, 195)
Tritanopia (Blue-blind)
#D0BEBC — rgb(208, 190, 188)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(304, 32%, 74%);
text
color: hsl(304, 32%, 74%);
border
border: 2px solid hsl(304, 32%, 74%);
gradient light
background: linear-gradient(to right, hsl(304, 32%, 94%), hsl(304, 32%, 74%));
gradient dark
background: linear-gradient(to right, hsl(304, 32%, 74%), hsl(304, 32%, 54%))
hex
background-color: #D2A7CF;
tailwind
bg-[hsl(304,32%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(304, 32%, 74%, 0.4);
css variable
--color-primary: hsl(304, 32%, 74%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(304, 32%, 74%)?
HEX: #D2A7CF | RGB: rgb(210, 167, 207) | CMYK: 0%, 20%, 1%, 18% | HSV: 304°, 20%, 82%. Copy any format from the conversion table above.
What colors go well with #D2A7CF?
The complementary color is HSL(124, 32%, 74%). 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, 32%, 74%) in CSS?
As HSL: color: hsl(304, 32%, 74%); — As HEX: color: #D2A7CF; — As RGB: color: rgb(210, 167, 207); — Tailwind CSS: bg-[hsl(304,32%,74%)] — CSS variable: --color-primary: hsl(304, 32%, 74%);