HSL(302, 72%, 76%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(302,72%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 72%, 76%) | color: hsl(302, 72%, 76%) | |
| HEX | #EE96EB | color: #EE96EB | |
| RGB | rgb(238, 150, 235) | color: rgb(238, 150, 235) | |
| CMYK | cmyk(0%, 37%, 1%, 7%) | — | |
| HSV | hsv(302, 37%, 93%) | — | |
| HWB | hwb(302 59% 7%) | color: hwb(302 59% 7%) | |
| OKLCH | oklch(0.7903 0.1502 328.08) | color: oklch(0.7903 0.1502 328.08) | |
| Lab | lab(73.54 45.72 -29.22) | color: lab(73.54 45.72 -29.22) | |
| LCH | lch(73.54 54.26 327.42) | color: lch(73.54 54.26 327.42) |
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)
#C8C7D6 — rgb(200, 199, 214)
Deuteranopia (Green-blind)
#CDD4D2 — rgb(205, 212, 210)
Tritanopia (Blue-blind)
#EAC6C3 — rgb(234, 198, 195)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 72%, 76%);
text
color: hsl(302, 72%, 76%);
border
border: 2px solid hsl(302, 72%, 76%);
gradient light
background: linear-gradient(to right, hsl(302, 72%, 96%), hsl(302, 72%, 76%));
gradient dark
background: linear-gradient(to right, hsl(302, 72%, 76%), hsl(302, 72%, 56%))
hex
background-color: #EE96EB;
tailwind
bg-[hsl(302,72%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 72%, 76%, 0.4);
css variable
--color-primary: hsl(302, 72%, 76%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 72%, 76%)?
HEX: #EE96EB | RGB: rgb(238, 150, 235) | CMYK: 0%, 37%, 1%, 7% | HSV: 302°, 37%, 93%. Copy any format from the conversion table above.
What colors go well with #EE96EB?
The complementary color is HSL(122, 72%, 76%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(302, 72%, 76%) in CSS?
As HSL: color: hsl(302, 72%, 76%); — As HEX: color: #EE96EB; — As RGB: color: rgb(238, 150, 235); — Tailwind CSS: bg-[hsl(302,72%,76%)] — CSS variable: --color-primary: hsl(302, 72%, 76%);