HSL(312, 56%, 85%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(312,56%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(312, 56%, 85%) | color: hsl(312, 56%, 85%) | |
| HEX | #EEC3E6 | color: #EEC3E6 | |
| RGB | rgb(238, 195, 230) | color: rgb(238, 195, 230) | |
| CMYK | cmyk(0%, 18%, 3%, 7%) | — | |
| HSV | hsv(311, 18%, 93%) | — | |
| HWB | hwb(311 76% 7%) | color: hwb(311 76% 7%) | |
| OKLCH | oklch(0.865 0.0669 332.57) | color: oklch(0.865 0.0669 332.57) | |
| Lab | lab(83.4 21.04 -11.58) | color: lab(83.4 21.04 -11.58) | |
| LCH | lch(83.4 24.02 331.17) | color: lch(83.4 24.02 331.17) |
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)
#DBDBDE — rgb(219, 219, 222)
Deuteranopia (Green-blind)
#DEE1DC — rgb(222, 225, 220)
Tritanopia (Blue-blind)
#ECD7D5 — rgb(236, 215, 213)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(312, 56%, 85%);
text
color: hsl(312, 56%, 85%);
border
border: 2px solid hsl(312, 56%, 85%);
gradient light
background: linear-gradient(to right, hsl(312, 56%, 100%), hsl(312, 56%, 85%));
gradient dark
background: linear-gradient(to right, hsl(312, 56%, 85%), hsl(312, 56%, 65%))
hex
background-color: #EEC3E6;
tailwind
bg-[hsl(312,56%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(312, 56%, 85%, 0.4);
css variable
--color-primary: hsl(312, 56%, 85%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(312, 56%, 85%)?
HEX: #EEC3E6 | RGB: rgb(238, 195, 230) | CMYK: 0%, 18%, 3%, 7% | HSV: 311°, 18%, 93%. Copy any format from the conversion table above.
What colors go well with #EEC3E6?
The complementary color is HSL(132, 56%, 85%). For a triadic harmony, use hues 312°, 72°, and 192°. For analogous combinations, try hues 282° and 342°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(312, 56%, 85%) in CSS?
As HSL: color: hsl(312, 56%, 85%); — As HEX: color: #EEC3E6; — As RGB: color: rgb(238, 195, 230); — Tailwind CSS: bg-[hsl(312,56%,85%)] — CSS variable: --color-primary: hsl(312, 56%, 85%);