HSL(287, 93%, 63%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(287,93%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(287, 93%, 63%) | color: hsl(287, 93%, 63%) | |
| HEX | #D249F8 | color: #D249F8 | |
| RGB | rgb(210, 73, 248) | color: rgb(210, 73, 248) | |
| CMYK | cmyk(15%, 71%, 0%, 3%) | — | |
| HSV | hsv(287, 71%, 97%) | — | |
| HWB | hwb(287 28% 3%) | color: hwb(287 28% 3%) | |
| OKLCH | oklch(0.6656 0.2604 317.91) | color: oklch(0.6656 0.2604 317.91) | |
| Lab | lab(57.31 76.27 -62.15) | color: lab(57.31 76.27 -62.15) | |
| LCH | lch(57.31 98.39 320.82) | color: lch(57.31 98.39 320.82) |
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)
#9795CE — rgb(151, 149, 206)
Deuteranopia (Green-blind)
#9FA9C4 — rgb(159, 169, 196)
Tritanopia (Blue-blind)
#CBACA5 — rgb(203, 172, 165)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(287, 93%, 63%);
text
color: hsl(287, 93%, 63%);
border
border: 2px solid hsl(287, 93%, 63%);
gradient light
background: linear-gradient(to right, hsl(287, 93%, 83%), hsl(287, 93%, 63%));
gradient dark
background: linear-gradient(to right, hsl(287, 93%, 63%), hsl(287, 93%, 43%))
hex
background-color: #D249F8;
tailwind
bg-[hsl(287,93%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(287, 93%, 63%, 0.4);
css variable
--color-primary: hsl(287, 93%, 63%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(287, 93%, 63%)?
HEX: #D249F8 | RGB: rgb(210, 73, 248) | CMYK: 15%, 71%, 0%, 3% | HSV: 287°, 71%, 97%. Copy any format from the conversion table above.
What colors go well with #D249F8?
The complementary color is HSL(107, 93%, 63%). For a triadic harmony, use hues 287°, 47°, and 167°. For analogous combinations, try hues 257° and 317°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(287, 93%, 63%) in CSS?
As HSL: color: hsl(287, 93%, 63%); — As HEX: color: #D249F8; — As RGB: color: rgb(210, 73, 248); — Tailwind CSS: bg-[hsl(287,93%,63%)] — CSS variable: --color-primary: hsl(287, 93%, 63%);