HSL(292, 74%, 79%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(292,74%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(292, 74%, 79%) | color: hsl(292, 74%, 79%) | |
| HEX | #E7A2F1 | color: #E7A2F1 | |
| RGB | rgb(231, 162, 241) | color: rgb(231, 162, 241) | |
| CMYK | cmyk(4%, 33%, 0%, 5%) | — | |
| HSV | hsv(292, 33%, 95%) | — | |
| HWB | hwb(292 64% 5%) | color: hwb(292 64% 5%) | |
| OKLCH | oklch(0.8046 0.131 322.24) | color: oklch(0.8046 0.131 322.24) | |
| Lab | lab(75.56 38.37 -29.44) | color: lab(75.56 38.37 -29.44) | |
| LCH | lch(75.56 48.36 322.5) | color: lch(75.56 48.36 322.5) |
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)
#C9C9DE — rgb(201, 201, 222)
Deuteranopia (Green-blind)
#CDD2D9 — rgb(205, 210, 217)
Tritanopia (Blue-blind)
#E4CFCB — rgb(228, 207, 203)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(292, 74%, 79%);
text
color: hsl(292, 74%, 79%);
border
border: 2px solid hsl(292, 74%, 79%);
gradient light
background: linear-gradient(to right, hsl(292, 74%, 99%), hsl(292, 74%, 79%));
gradient dark
background: linear-gradient(to right, hsl(292, 74%, 79%), hsl(292, 74%, 59%))
hex
background-color: #E7A2F1;
tailwind
bg-[hsl(292,74%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(292, 74%, 79%, 0.4);
css variable
--color-primary: hsl(292, 74%, 79%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(292, 74%, 79%)?
HEX: #E7A2F1 | RGB: rgb(231, 162, 241) | CMYK: 4%, 33%, 0%, 5% | HSV: 292°, 33%, 95%. Copy any format from the conversion table above.
What colors go well with #E7A2F1?
The complementary color is HSL(112, 74%, 79%). For a triadic harmony, use hues 292°, 52°, and 172°. For analogous combinations, try hues 262° and 322°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(292, 74%, 79%) in CSS?
As HSL: color: hsl(292, 74%, 79%); — As HEX: color: #E7A2F1; — As RGB: color: rgb(231, 162, 241); — Tailwind CSS: bg-[hsl(292,74%,79%)] — CSS variable: --color-primary: hsl(292, 74%, 79%);