HSL(292, 82%, 62%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(292,82%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(292, 82%, 62%) | color: hsl(292, 82%, 62%) | |
| HEX | #D84FEE | color: #D84FEE | |
| RGB | rgb(216, 79, 238) | color: rgb(216, 79, 238) | |
| CMYK | cmyk(9%, 67%, 0%, 7%) | — | |
| HSV | hsv(292, 67%, 93%) | — | |
| HWB | hwb(292 31% 7%) | color: hwb(292 31% 7%) | |
| OKLCH | oklch(0.6731 0.2476 321.83) | color: oklch(0.6731 0.2476 321.83) | |
| Lab | lab(58.38 73.49 -54.83) | color: lab(58.38 73.49 -54.83) | |
| LCH | lch(58.38 91.69 323.27) | color: lch(58.38 91.69 323.27) |
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)
#9D9BC8 — rgb(157, 155, 200)
Deuteranopia (Green-blind)
#A5AFBE — rgb(165, 175, 190)
Tritanopia (Blue-blind)
#D1A9A2 — rgb(209, 169, 162)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(292, 82%, 62%);
text
color: hsl(292, 82%, 62%);
border
border: 2px solid hsl(292, 82%, 62%);
gradient light
background: linear-gradient(to right, hsl(292, 82%, 82%), hsl(292, 82%, 62%));
gradient dark
background: linear-gradient(to right, hsl(292, 82%, 62%), hsl(292, 82%, 42%))
hex
background-color: #D84FEE;
tailwind
bg-[hsl(292,82%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(292, 82%, 62%, 0.4);
css variable
--color-primary: hsl(292, 82%, 62%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(292, 82%, 62%)?
HEX: #D84FEE | RGB: rgb(216, 79, 238) | CMYK: 9%, 67%, 0%, 7% | HSV: 292°, 67%, 93%. Copy any format from the conversion table above.
What colors go well with #D84FEE?
The complementary color is HSL(112, 82%, 62%). 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, 82%, 62%) in CSS?
As HSL: color: hsl(292, 82%, 62%); — As HEX: color: #D84FEE; — As RGB: color: rgb(216, 79, 238); — Tailwind CSS: bg-[hsl(292,82%,62%)] — CSS variable: --color-primary: hsl(292, 82%, 62%);