HSL(297, 71%, 76%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(297,71%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(297, 71%, 76%) | color: hsl(297, 71%, 76%) | |
| HEX | #E996ED | color: #E996ED | |
| RGB | rgb(233, 150, 237) | color: rgb(233, 150, 237) | |
| CMYK | cmyk(2%, 37%, 0%, 7%) | — | |
| HSV | hsv(297, 37%, 93%) | — | |
| HWB | hwb(297 59% 7%) | color: hwb(297 59% 7%) | |
| OKLCH | oklch(0.7857 0.1488 325.27) | color: oklch(0.7857 0.1488 325.27) | |
| Lab | lab(73.06 44.56 -31.1) | color: lab(73.06 44.56 -31.1) | |
| LCH | lch(73.06 54.34 325.09) | color: lch(73.06 54.34 325.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)
#C5C4D8 — rgb(197, 196, 216)
Deuteranopia (Green-blind)
#CAD0D3 — rgb(202, 208, 211)
Tritanopia (Blue-blind)
#E5C7C4 — rgb(229, 199, 196)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(297, 71%, 76%);
text
color: hsl(297, 71%, 76%);
border
border: 2px solid hsl(297, 71%, 76%);
gradient light
background: linear-gradient(to right, hsl(297, 71%, 96%), hsl(297, 71%, 76%));
gradient dark
background: linear-gradient(to right, hsl(297, 71%, 76%), hsl(297, 71%, 56%))
hex
background-color: #E996ED;
tailwind
bg-[hsl(297,71%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(297, 71%, 76%, 0.4);
css variable
--color-primary: hsl(297, 71%, 76%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(297, 71%, 76%)?
HEX: #E996ED | RGB: rgb(233, 150, 237) | CMYK: 2%, 37%, 0%, 7% | HSV: 297°, 37%, 93%. Copy any format from the conversion table above.
What colors go well with #E996ED?
The complementary color is HSL(117, 71%, 76%). For a triadic harmony, use hues 297°, 57°, and 177°. For analogous combinations, try hues 267° and 327°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(297, 71%, 76%) in CSS?
As HSL: color: hsl(297, 71%, 76%); — As HEX: color: #E996ED; — As RGB: color: rgb(233, 150, 237); — Tailwind CSS: bg-[hsl(297,71%,76%)] — CSS variable: --color-primary: hsl(297, 71%, 76%);