HSL(299, 75%, 71%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(299,75%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(299, 75%, 71%) | color: hsl(299, 75%, 71%) | |
| HEX | #EB7EED | color: #EB7EED | |
| RGB | rgb(235, 126, 237) | color: rgb(235, 126, 237) | |
| CMYK | cmyk(1%, 47%, 0%, 7%) | — | |
| HSV | hsv(299, 47%, 93%) | — | |
| HWB | hwb(299 49% 7%) | color: hwb(299 49% 7%) | |
| OKLCH | oklch(0.7524 0.1898 326.59) | color: oklch(0.7524 0.1898 326.59) | |
| Lab | lab(68.53 57.29 -38.1) | color: lab(68.53 57.29 -38.1) | |
| LCH | lch(68.53 68.8 326.37) | color: lch(68.53 68.8 326.37) |
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)
#BCBBD2 — rgb(188, 187, 210)
Deuteranopia (Green-blind)
#C2CACC — rgb(194, 202, 204)
Tritanopia (Blue-blind)
#E6BDB8 — rgb(230, 189, 184)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(299, 75%, 71%);
text
color: hsl(299, 75%, 71%);
border
border: 2px solid hsl(299, 75%, 71%);
gradient light
background: linear-gradient(to right, hsl(299, 75%, 91%), hsl(299, 75%, 71%));
gradient dark
background: linear-gradient(to right, hsl(299, 75%, 71%), hsl(299, 75%, 51%))
hex
background-color: #EB7EED;
tailwind
bg-[hsl(299,75%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(299, 75%, 71%, 0.4);
css variable
--color-primary: hsl(299, 75%, 71%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(299, 75%, 71%)?
HEX: #EB7EED | RGB: rgb(235, 126, 237) | CMYK: 1%, 47%, 0%, 7% | HSV: 299°, 47%, 93%. Copy any format from the conversion table above.
What colors go well with #EB7EED?
The complementary color is HSL(119, 75%, 71%). 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, 75%, 71%) in CSS?
As HSL: color: hsl(299, 75%, 71%); — As HEX: color: #EB7EED; — As RGB: color: rgb(235, 126, 237); — Tailwind CSS: bg-[hsl(299,75%,71%)] — CSS variable: --color-primary: hsl(299, 75%, 71%);