HSL(287, 100%, 62%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(287,100%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(287, 100%, 62%) | color: hsl(287, 100%, 62%) | |
| HEX | #D53DFF | color: #D53DFF | |
| RGB | rgb(213, 61, 255) | color: rgb(213, 61, 255) | |
| CMYK | cmyk(16%, 76%, 0%, 0%) | — | |
| HSV | hsv(287, 76%, 100%) | — | |
| HWB | hwb(287 24% 0%) | color: hwb(287 24% 0%) | |
| OKLCH | oklch(0.6641 0.2792 317.62) | color: oklch(0.6641 0.2792 317.62) | |
| Lab | lab(56.79 82.09 -66.86) | color: lab(56.79 82.09 -66.86) | |
| LCH | lch(56.79 105.87 320.84) | color: lch(56.79 105.87 320.84) |
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)
#9392D0 — rgb(147, 146, 208)
Deuteranopia (Green-blind)
#9CA7C5 — rgb(156, 167, 197)
Tritanopia (Blue-blind)
#CDABA3 — rgb(205, 171, 163)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(287, 100%, 62%);
text
color: hsl(287, 100%, 62%);
border
border: 2px solid hsl(287, 100%, 62%);
gradient light
background: linear-gradient(to right, hsl(287, 100%, 82%), hsl(287, 100%, 62%));
gradient dark
background: linear-gradient(to right, hsl(287, 100%, 62%), hsl(287, 100%, 42%))
hex
background-color: #D53DFF;
tailwind
bg-[hsl(287,100%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(287, 100%, 62%, 0.4);
css variable
--color-primary: hsl(287, 100%, 62%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(287, 100%, 62%)?
HEX: #D53DFF | RGB: rgb(213, 61, 255) | CMYK: 16%, 76%, 0%, 0% | HSV: 287°, 76%, 100%. Copy any format from the conversion table above.
What colors go well with #D53DFF?
The complementary color is HSL(107, 100%, 62%). 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, 100%, 62%) in CSS?
As HSL: color: hsl(287, 100%, 62%); — As HEX: color: #D53DFF; — As RGB: color: rgb(213, 61, 255); — Tailwind CSS: bg-[hsl(287,100%,62%)] — CSS variable: --color-primary: hsl(287, 100%, 62%);