HSL(292, 66%, 40%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(292,66%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(292, 66%, 40%) | color: hsl(292, 66%, 40%) | |
| HEX | #9723A9 | color: #9723A9 | |
| RGB | rgb(151, 35, 169) | color: rgb(151, 35, 169) | |
| CMYK | cmyk(11%, 79%, 0%, 34%) | — | |
| HSV | hsv(292, 79%, 66%) | — | |
| HWB | hwb(292 14% 34%) | color: hwb(292 14% 34%) | |
| OKLCH | oklch(0.5019 0.2112 321.78) | color: oklch(0.5019 0.2112 321.78) | |
| Lab | lab(38.98 62.99 -46.64) | color: lab(38.98 62.99 -46.64) | |
| LCH | lch(38.98 78.38 323.48) | color: lch(38.98 78.38 323.48) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#656489 — rgb(101, 100, 137)
Deuteranopia (Green-blind)
#6C7481 — rgb(108, 116, 129)
Tritanopia (Blue-blind)
#916F69 — rgb(145, 111, 105)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(292, 66%, 40%);
text
color: hsl(292, 66%, 40%);
border
border: 2px solid hsl(292, 66%, 40%);
gradient light
background: linear-gradient(to right, hsl(292, 66%, 60%), hsl(292, 66%, 40%));
gradient dark
background: linear-gradient(to right, hsl(292, 66%, 40%), hsl(292, 66%, 20%))
hex
background-color: #9723A9;
tailwind
bg-[hsl(292,66%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(292, 66%, 40%, 0.4);
css variable
--color-primary: hsl(292, 66%, 40%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(292, 66%, 40%)?
HEX: #9723A9 | RGB: rgb(151, 35, 169) | CMYK: 11%, 79%, 0%, 34% | HSV: 292°, 79%, 66%. Copy any format from the conversion table above.
What colors go well with #9723A9?
The complementary color is HSL(112, 66%, 40%). 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, 66%, 40%) in CSS?
As HSL: color: hsl(292, 66%, 40%); — As HEX: color: #9723A9; — As RGB: color: rgb(151, 35, 169); — Tailwind CSS: bg-[hsl(292,66%,40%)] — CSS variable: --color-primary: hsl(292, 66%, 40%);