HSL(296, 85%, 76%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(296,85%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(296, 85%, 76%) | color: hsl(296, 85%, 76%) | |
| HEX | #EF8EF6 | color: #EF8EF6 | |
| RGB | rgb(239, 142, 246) | color: rgb(239, 142, 246) | |
| CMYK | cmyk(3%, 42%, 0%, 4%) | — | |
| HSV | hsv(296, 42%, 96%) | — | |
| HWB | hwb(296 56% 4%) | color: hwb(296 56% 4%) | |
| OKLCH | oklch(0.7839 0.1746 324.63) | color: oklch(0.7839 0.1746 324.63) | |
| Lab | lab(72.46 52.09 -36.88) | color: lab(72.46 52.09 -36.88) | |
| LCH | lch(72.46 63.82 324.7) | color: lch(72.46 63.82 324.7) |
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)
#C5C4DD — rgb(197, 196, 221)
Deuteranopia (Green-blind)
#CBD2D7 — rgb(203, 210, 215)
Tritanopia (Blue-blind)
#EAC9C5 — rgb(234, 201, 197)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(296, 85%, 76%);
text
color: hsl(296, 85%, 76%);
border
border: 2px solid hsl(296, 85%, 76%);
gradient light
background: linear-gradient(to right, hsl(296, 85%, 96%), hsl(296, 85%, 76%));
gradient dark
background: linear-gradient(to right, hsl(296, 85%, 76%), hsl(296, 85%, 56%))
hex
background-color: #EF8EF6;
tailwind
bg-[hsl(296,85%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(296, 85%, 76%, 0.4);
css variable
--color-primary: hsl(296, 85%, 76%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(296, 85%, 76%)?
HEX: #EF8EF6 | RGB: rgb(239, 142, 246) | CMYK: 3%, 42%, 0%, 4% | HSV: 296°, 42%, 96%. Copy any format from the conversion table above.
What colors go well with #EF8EF6?
The complementary color is HSL(116, 85%, 76%). For a triadic harmony, use hues 296°, 56°, and 176°. For analogous combinations, try hues 266° and 326°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(296, 85%, 76%) in CSS?
As HSL: color: hsl(296, 85%, 76%); — As HEX: color: #EF8EF6; — As RGB: color: rgb(239, 142, 246); — Tailwind CSS: bg-[hsl(296,85%,76%)] — CSS variable: --color-primary: hsl(296, 85%, 76%);