HSL(292, 87%, 74%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(292,87%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(292, 87%, 74%) | color: hsl(292, 87%, 74%) | |
| HEX | #E783F6 | color: #E783F6 | |
| RGB | rgb(231, 131, 246) | color: rgb(231, 131, 246) | |
| CMYK | cmyk(6%, 47%, 0%, 4%) | — | |
| HSV | hsv(292, 47%, 96%) | — | |
| HWB | hwb(292 51% 4%) | color: hwb(292 51% 4%) | |
| OKLCH | oklch(0.7589 0.1879 322.24) | color: oklch(0.7589 0.1879 322.24) | |
| Lab | lab(69.38 55.35 -41.75) | color: lab(69.38 55.35 -41.75) | |
| LCH | lch(69.38 69.33 322.97) | color: lch(69.38 69.33 322.97) |
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)
#BCBBDA — rgb(188, 187, 218)
Deuteranopia (Green-blind)
#C2C9D4 — rgb(194, 201, 212)
Tritanopia (Blue-blind)
#E2C4BF — rgb(226, 196, 191)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(292, 87%, 74%);
text
color: hsl(292, 87%, 74%);
border
border: 2px solid hsl(292, 87%, 74%);
gradient light
background: linear-gradient(to right, hsl(292, 87%, 94%), hsl(292, 87%, 74%));
gradient dark
background: linear-gradient(to right, hsl(292, 87%, 74%), hsl(292, 87%, 54%))
hex
background-color: #E783F6;
tailwind
bg-[hsl(292,87%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(292, 87%, 74%, 0.4);
css variable
--color-primary: hsl(292, 87%, 74%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(292, 87%, 74%)?
HEX: #E783F6 | RGB: rgb(231, 131, 246) | CMYK: 6%, 47%, 0%, 4% | HSV: 292°, 47%, 96%. Copy any format from the conversion table above.
What colors go well with #E783F6?
The complementary color is HSL(112, 87%, 74%). 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, 87%, 74%) in CSS?
As HSL: color: hsl(292, 87%, 74%); — As HEX: color: #E783F6; — As RGB: color: rgb(231, 131, 246); — Tailwind CSS: bg-[hsl(292,87%,74%)] — CSS variable: --color-primary: hsl(292, 87%, 74%);