HSL(302, 79%, 71%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(302,79%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 79%, 71%) | color: hsl(302, 79%, 71%) | |
| HEX | #EF7BEC | color: #EF7BEC | |
| RGB | rgb(239, 123, 236) | color: rgb(239, 123, 236) | |
| CMYK | cmyk(0%, 49%, 1%, 6%) | — | |
| HSV | hsv(302, 49%, 94%) | — | |
| HWB | hwb(302 48% 6%) | color: hwb(302 48% 6%) | |
| OKLCH | oklch(0.7526 0.1961 328.27) | color: oklch(0.7526 0.1961 328.27) | |
| Lab | lab(68.44 59.68 -37.65) | color: lab(68.44 59.68 -37.65) | |
| LCH | lch(68.44 70.56 327.75) | color: lch(68.44 70.56 327.75) |
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)
#BDBCD1 — rgb(189, 188, 209)
Deuteranopia (Green-blind)
#C4CCCA — rgb(196, 204, 202)
Tritanopia (Blue-blind)
#E9BBB6 — rgb(233, 187, 182)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 79%, 71%);
text
color: hsl(302, 79%, 71%);
border
border: 2px solid hsl(302, 79%, 71%);
gradient light
background: linear-gradient(to right, hsl(302, 79%, 91%), hsl(302, 79%, 71%));
gradient dark
background: linear-gradient(to right, hsl(302, 79%, 71%), hsl(302, 79%, 51%))
hex
background-color: #EF7BEC;
tailwind
bg-[hsl(302,79%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 79%, 71%, 0.4);
css variable
--color-primary: hsl(302, 79%, 71%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 79%, 71%)?
HEX: #EF7BEC | RGB: rgb(239, 123, 236) | CMYK: 0%, 49%, 1%, 6% | HSV: 302°, 49%, 94%. Copy any format from the conversion table above.
What colors go well with #EF7BEC?
The complementary color is HSL(122, 79%, 71%). 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, 79%, 71%) in CSS?
As HSL: color: hsl(302, 79%, 71%); — As HEX: color: #EF7BEC; — As RGB: color: rgb(239, 123, 236); — Tailwind CSS: bg-[hsl(302,79%,71%)] — CSS variable: --color-primary: hsl(302, 79%, 71%);