HSL(310, 30%, 76%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(310,30%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(310, 30%, 76%) | color: hsl(310, 30%, 76%) | |
| HEX | #D4AFCE | color: #D4AFCE | |
| RGB | rgb(212, 175, 206) | color: rgb(212, 175, 206) | |
| CMYK | cmyk(0%, 17%, 3%, 17%) | — | |
| HSV | hsv(310, 17%, 83%) | — | |
| HWB | hwb(310 69% 17%) | color: hwb(310 69% 17%) | |
| OKLCH | oklch(0.7962 0.0596 331.63) | color: oklch(0.7962 0.0596 331.63) | |
| Lab | lab(75.52 18.65 -10.64) | color: lab(75.52 18.65 -10.64) | |
| LCH | lch(75.52 21.47 330.29) | color: lch(75.52 21.47 330.29) |
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)
#C4C4C6 — rgb(196, 196, 198)
Deuteranopia (Green-blind)
#C6C9C5 — rgb(198, 201, 197)
Tritanopia (Blue-blind)
#D2C1BF — rgb(210, 193, 191)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(310, 30%, 76%);
text
color: hsl(310, 30%, 76%);
border
border: 2px solid hsl(310, 30%, 76%);
gradient light
background: linear-gradient(to right, hsl(310, 30%, 96%), hsl(310, 30%, 76%));
gradient dark
background: linear-gradient(to right, hsl(310, 30%, 76%), hsl(310, 30%, 56%))
hex
background-color: #D4AFCE;
tailwind
bg-[hsl(310,30%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(310, 30%, 76%, 0.4);
css variable
--color-primary: hsl(310, 30%, 76%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(310, 30%, 76%)?
HEX: #D4AFCE | RGB: rgb(212, 175, 206) | CMYK: 0%, 17%, 3%, 17% | HSV: 310°, 17%, 83%. Copy any format from the conversion table above.
What colors go well with #D4AFCE?
The complementary color is HSL(130, 30%, 76%). For a triadic harmony, use hues 310°, 70°, and 190°. For analogous combinations, try hues 280° and 340°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(310, 30%, 76%) in CSS?
As HSL: color: hsl(310, 30%, 76%); — As HEX: color: #D4AFCE; — As RGB: color: rgb(212, 175, 206); — Tailwind CSS: bg-[hsl(310,30%,76%)] — CSS variable: --color-primary: hsl(310, 30%, 76%);