HSL(289, 92%, 64%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(289,92%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(289, 92%, 64%) | color: hsl(289, 92%, 64%) | |
| HEX | #D94FF8 | color: #D94FF8 | |
| RGB | rgb(217, 79, 248) | color: rgb(217, 79, 248) | |
| CMYK | cmyk(13%, 68%, 0%, 3%) | — | |
| HSV | hsv(289, 68%, 97%) | — | |
| HWB | hwb(289 31% 3%) | color: hwb(289 31% 3%) | |
| OKLCH | oklch(0.6803 0.2564 319.67) | color: oklch(0.6803 0.2564 319.67) | |
| Lab | lab(59.09 75.49 -59.26) | color: lab(59.09 75.49 -59.26) | |
| LCH | lch(59.09 95.97 321.87) | color: lch(59.09 95.97 321.87) |
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)
#9D9CCF — rgb(157, 156, 207)
Deuteranopia (Green-blind)
#A5B0C5 — rgb(165, 176, 197)
Tritanopia (Blue-blind)
#D2AFA8 — rgb(210, 175, 168)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(289, 92%, 64%);
text
color: hsl(289, 92%, 64%);
border
border: 2px solid hsl(289, 92%, 64%);
gradient light
background: linear-gradient(to right, hsl(289, 92%, 84%), hsl(289, 92%, 64%));
gradient dark
background: linear-gradient(to right, hsl(289, 92%, 64%), hsl(289, 92%, 44%))
hex
background-color: #D94FF8;
tailwind
bg-[hsl(289,92%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(289, 92%, 64%, 0.4);
css variable
--color-primary: hsl(289, 92%, 64%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(289, 92%, 64%)?
HEX: #D94FF8 | RGB: rgb(217, 79, 248) | CMYK: 13%, 68%, 0%, 3% | HSV: 289°, 68%, 97%. Copy any format from the conversion table above.
What colors go well with #D94FF8?
The complementary color is HSL(109, 92%, 64%). For a triadic harmony, use hues 289°, 49°, and 169°. For analogous combinations, try hues 259° and 319°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(289, 92%, 64%) in CSS?
As HSL: color: hsl(289, 92%, 64%); — As HEX: color: #D94FF8; — As RGB: color: rgb(217, 79, 248); — Tailwind CSS: bg-[hsl(289,92%,64%)] — CSS variable: --color-primary: hsl(289, 92%, 64%);