HSL(298, 60%, 85%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(298,60%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(298, 60%, 85%) | color: hsl(298, 60%, 85%) | |
| HEX | #EEC2F0 | color: #EEC2F0 | |
| RGB | rgb(238, 194, 240) | color: rgb(238, 194, 240) | |
| CMYK | cmyk(1%, 19%, 0%, 6%) | — | |
| HSV | hsv(297, 19%, 94%) | — | |
| HWB | hwb(297 76% 6%) | color: hwb(297 76% 6%) | |
| OKLCH | oklch(0.8665 0.0784 324.84) | color: oklch(0.8665 0.0784 324.84) | |
| Lab | lab(83.47 23.38 -16.81) | color: lab(83.47 23.38 -16.81) | |
| LCH | lch(83.47 28.8 324.28) | color: lch(83.47 28.8 324.28) |
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)
#DBDBE5 — rgb(219, 219, 229)
Deuteranopia (Green-blind)
#DEE1E2 — rgb(222, 225, 226)
Tritanopia (Blue-blind)
#ECDCDA — rgb(236, 220, 218)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(298, 60%, 85%);
text
color: hsl(298, 60%, 85%);
border
border: 2px solid hsl(298, 60%, 85%);
gradient light
background: linear-gradient(to right, hsl(298, 60%, 100%), hsl(298, 60%, 85%));
gradient dark
background: linear-gradient(to right, hsl(298, 60%, 85%), hsl(298, 60%, 65%))
hex
background-color: #EEC2F0;
tailwind
bg-[hsl(298,60%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(298, 60%, 85%, 0.4);
css variable
--color-primary: hsl(298, 60%, 85%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(298, 60%, 85%)?
HEX: #EEC2F0 | RGB: rgb(238, 194, 240) | CMYK: 1%, 19%, 0%, 6% | HSV: 297°, 19%, 94%. Copy any format from the conversion table above.
What colors go well with #EEC2F0?
The complementary color is HSL(118, 60%, 85%). For a triadic harmony, use hues 298°, 58°, and 178°. For analogous combinations, try hues 268° and 328°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(298, 60%, 85%) in CSS?
As HSL: color: hsl(298, 60%, 85%); — As HEX: color: #EEC2F0; — As RGB: color: rgb(238, 194, 240); — Tailwind CSS: bg-[hsl(298,60%,85%)] — CSS variable: --color-primary: hsl(298, 60%, 85%);