HSL(292, 21%, 55%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(292,21%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(292, 21%, 55%) | color: hsl(292, 21%, 55%) | |
| HEX | #9E74A4 | color: #9E74A4 | |
| RGB | rgb(158, 116, 164) | color: rgb(158, 116, 164) | |
| CMYK | cmyk(4%, 29%, 0%, 36%) | — | |
| HSV | hsv(293, 29%, 64%) | — | |
| HWB | hwb(293 45% 36%) | color: hwb(293 45% 36%) | |
| OKLCH | oklch(0.6176 0.0856 322.25) | color: oklch(0.6176 0.0856 322.25) | |
| Lab | lab(54.49 25.03 -19.3) | color: lab(54.49 25.03 -19.3) | |
| LCH | lch(54.49 31.61 322.37) | color: lch(54.49 31.61 322.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)
#8C8B98 — rgb(140, 139, 152)
Deuteranopia (Green-blind)
#8E9196 — rgb(142, 145, 150)
Tritanopia (Blue-blind)
#9C8F8D — rgb(156, 143, 141)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(292, 21%, 55%);
text
color: hsl(292, 21%, 55%);
border
border: 2px solid hsl(292, 21%, 55%);
gradient light
background: linear-gradient(to right, hsl(292, 21%, 75%), hsl(292, 21%, 55%));
gradient dark
background: linear-gradient(to right, hsl(292, 21%, 55%), hsl(292, 21%, 35%))
hex
background-color: #9E74A4;
tailwind
bg-[hsl(292,21%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(292, 21%, 55%, 0.4);
css variable
--color-primary: hsl(292, 21%, 55%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(292, 21%, 55%)?
HEX: #9E74A4 | RGB: rgb(158, 116, 164) | CMYK: 4%, 29%, 0%, 36% | HSV: 293°, 29%, 64%. Copy any format from the conversion table above.
What colors go well with #9E74A4?
The complementary color is HSL(112, 21%, 55%). 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, 21%, 55%) in CSS?
As HSL: color: hsl(292, 21%, 55%); — As HEX: color: #9E74A4; — As RGB: color: rgb(158, 116, 164); — Tailwind CSS: bg-[hsl(292,21%,55%)] — CSS variable: --color-primary: hsl(292, 21%, 55%);