HSL(291, 98%, 79%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(291,98%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(291, 98%, 79%) | color: hsl(291, 98%, 79%) | |
| HEX | #EE95FE | color: #EE95FE | |
| RGB | rgb(238, 149, 254) | color: rgb(238, 149, 254) | |
| CMYK | cmyk(6%, 41%, 0%, 0%) | — | |
| HSV | hsv(291, 41%, 100%) | — | |
| HWB | hwb(291 59% 0%) | color: hwb(291 59% 0%) | |
| OKLCH | oklch(0.7968 0.1703 321.33) | color: oklch(0.7968 0.1703 321.33) | |
| Lab | lab(74.08 49.72 -38.72) | color: lab(74.08 49.72 -38.72) | |
| LCH | lch(74.08 63.02 322.09) | color: lch(74.08 63.02 322.09) |
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)
#C7C7E5 — rgb(199, 199, 229)
Deuteranopia (Green-blind)
#CDD3DF — rgb(205, 211, 223)
Tritanopia (Blue-blind)
#EAD1CC — rgb(234, 209, 204)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(291, 98%, 79%);
text
color: hsl(291, 98%, 79%);
border
border: 2px solid hsl(291, 98%, 79%);
gradient light
background: linear-gradient(to right, hsl(291, 98%, 99%), hsl(291, 98%, 79%));
gradient dark
background: linear-gradient(to right, hsl(291, 98%, 79%), hsl(291, 98%, 59%))
hex
background-color: #EE95FE;
tailwind
bg-[hsl(291,98%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(291, 98%, 79%, 0.4);
css variable
--color-primary: hsl(291, 98%, 79%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(291, 98%, 79%)?
HEX: #EE95FE | RGB: rgb(238, 149, 254) | CMYK: 6%, 41%, 0%, 0% | HSV: 291°, 41%, 100%. Copy any format from the conversion table above.
What colors go well with #EE95FE?
The complementary color is HSL(111, 98%, 79%). For a triadic harmony, use hues 291°, 51°, and 171°. For analogous combinations, try hues 261° and 321°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(291, 98%, 79%) in CSS?
As HSL: color: hsl(291, 98%, 79%); — As HEX: color: #EE95FE; — As RGB: color: rgb(238, 149, 254); — Tailwind CSS: bg-[hsl(291,98%,79%)] — CSS variable: --color-primary: hsl(291, 98%, 79%);