HSL(302, 30%, 77%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(302,30%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 30%, 77%) | color: hsl(302, 30%, 77%) | |
| HEX | #D6B3D5 | color: #D6B3D5 | |
| RGB | rgb(214, 179, 213) | color: rgb(214, 179, 213) | |
| CMYK | cmyk(0%, 16%, 0%, 16%) | — | |
| HSV | hsv(302, 16%, 84%) | — | |
| HWB | hwb(302 71% 16%) | color: hwb(302 71% 16%) | |
| OKLCH | oklch(0.8078 0.0608 327.02) | color: oklch(0.8078 0.0608 327.02) | |
| Lab | lab(76.89 18.45 -12.39) | color: lab(76.89 18.45 -12.39) | |
| LCH | lch(76.89 22.22 326.12) | color: lch(76.89 22.22 326.12) |
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)
#C7C7CD — rgb(199, 199, 205)
Deuteranopia (Green-blind)
#C9CCCB — rgb(201, 204, 203)
Tritanopia (Blue-blind)
#D4C6C5 — rgb(212, 198, 197)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 30%, 77%);
text
color: hsl(302, 30%, 77%);
border
border: 2px solid hsl(302, 30%, 77%);
gradient light
background: linear-gradient(to right, hsl(302, 30%, 97%), hsl(302, 30%, 77%));
gradient dark
background: linear-gradient(to right, hsl(302, 30%, 77%), hsl(302, 30%, 57%))
hex
background-color: #D6B3D5;
tailwind
bg-[hsl(302,30%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 30%, 77%, 0.4);
css variable
--color-primary: hsl(302, 30%, 77%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 30%, 77%)?
HEX: #D6B3D5 | RGB: rgb(214, 179, 213) | CMYK: 0%, 16%, 0%, 16% | HSV: 302°, 16%, 84%. Copy any format from the conversion table above.
What colors go well with #D6B3D5?
The complementary color is HSL(122, 30%, 77%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(302, 30%, 77%) in CSS?
As HSL: color: hsl(302, 30%, 77%); — As HEX: color: #D6B3D5; — As RGB: color: rgb(214, 179, 213); — Tailwind CSS: bg-[hsl(302,30%,77%)] — CSS variable: --color-primary: hsl(302, 30%, 77%);