HSL(299, 70%, 76%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(299,70%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(299, 70%, 76%) | color: hsl(299, 70%, 76%) | |
| HEX | #EB97ED | color: #EB97ED | |
| RGB | rgb(235, 151, 237) | color: rgb(235, 151, 237) | |
| CMYK | cmyk(1%, 36%, 0%, 7%) | — | |
| HSV | hsv(299, 36%, 93%) | — | |
| HWB | hwb(299 60% 7%) | color: hwb(299 60% 7%) | |
| OKLCH | oklch(0.7894 0.1484 326.06) | color: oklch(0.7894 0.1484 326.06) | |
| Lab | lab(73.49 44.65 -30.42) | color: lab(73.49 44.65 -30.42) | |
| LCH | lch(73.49 54.03 325.73) | color: lch(73.49 54.03 325.73) |
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)
#C7C6D8 — rgb(199, 198, 216)
Deuteranopia (Green-blind)
#CCD2D3 — rgb(204, 210, 211)
Tritanopia (Blue-blind)
#E7C8C4 — rgb(231, 200, 196)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(299, 70%, 76%);
text
color: hsl(299, 70%, 76%);
border
border: 2px solid hsl(299, 70%, 76%);
gradient light
background: linear-gradient(to right, hsl(299, 70%, 96%), hsl(299, 70%, 76%));
gradient dark
background: linear-gradient(to right, hsl(299, 70%, 76%), hsl(299, 70%, 56%))
hex
background-color: #EB97ED;
tailwind
bg-[hsl(299,70%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(299, 70%, 76%, 0.4);
css variable
--color-primary: hsl(299, 70%, 76%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(299, 70%, 76%)?
HEX: #EB97ED | RGB: rgb(235, 151, 237) | CMYK: 1%, 36%, 0%, 7% | HSV: 299°, 36%, 93%. Copy any format from the conversion table above.
What colors go well with #EB97ED?
The complementary color is HSL(119, 70%, 76%). For a triadic harmony, use hues 299°, 59°, and 179°. For analogous combinations, try hues 269° and 329°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(299, 70%, 76%) in CSS?
As HSL: color: hsl(299, 70%, 76%); — As HEX: color: #EB97ED; — As RGB: color: rgb(235, 151, 237); — Tailwind CSS: bg-[hsl(299,70%,76%)] — CSS variable: --color-primary: hsl(299, 70%, 76%);