HSL(302, 45%, 85%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(302,45%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 45%, 85%) | color: hsl(302, 45%, 85%) | |
| HEX | #EAC8E9 | color: #EAC8E9 | |
| RGB | rgb(234, 200, 233) | color: rgb(234, 200, 233) | |
| CMYK | cmyk(0%, 15%, 0%, 8%) | — | |
| HSV | hsv(302, 15%, 92%) | — | |
| HWB | hwb(302 78% 8%) | color: hwb(302 78% 8%) | |
| OKLCH | oklch(0.8716 0.058 326.97) | color: oklch(0.8716 0.058 326.97) | |
| Lab | lab(84.32 17.59 -11.84) | color: lab(84.32 17.59 -11.84) | |
| LCH | lch(84.32 21.2 326.06) | color: lch(84.32 21.2 326.06) |
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)
#DBDBE1 — rgb(219, 219, 225)
Deuteranopia (Green-blind)
#DDE0DF — rgb(221, 224, 223)
Tritanopia (Blue-blind)
#E8DBD9 — rgb(232, 219, 217)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 45%, 85%);
text
color: hsl(302, 45%, 85%);
border
border: 2px solid hsl(302, 45%, 85%);
gradient light
background: linear-gradient(to right, hsl(302, 45%, 100%), hsl(302, 45%, 85%));
gradient dark
background: linear-gradient(to right, hsl(302, 45%, 85%), hsl(302, 45%, 65%))
hex
background-color: #EAC8E9;
tailwind
bg-[hsl(302,45%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 45%, 85%, 0.4);
css variable
--color-primary: hsl(302, 45%, 85%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 45%, 85%)?
HEX: #EAC8E9 | RGB: rgb(234, 200, 233) | CMYK: 0%, 15%, 0%, 8% | HSV: 302°, 15%, 92%. Copy any format from the conversion table above.
What colors go well with #EAC8E9?
The complementary color is HSL(122, 45%, 85%). 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, 45%, 85%) in CSS?
As HSL: color: hsl(302, 45%, 85%); — As HEX: color: #EAC8E9; — As RGB: color: rgb(234, 200, 233); — Tailwind CSS: bg-[hsl(302,45%,85%)] — CSS variable: --color-primary: hsl(302, 45%, 85%);