HSL(287, 84%, 74%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(287,84%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(287, 84%, 74%) | color: hsl(287, 84%, 74%) | |
| HEX | #DC85F4 | color: #DC85F4 | |
| RGB | rgb(220, 133, 244) | color: rgb(220, 133, 244) | |
| CMYK | cmyk(10%, 45%, 0%, 4%) | — | |
| HSV | hsv(287, 45%, 96%) | — | |
| HWB | hwb(287 53% 4%) | color: hwb(287 53% 4%) | |
| OKLCH | oklch(0.7486 0.177 318.7) | color: oklch(0.7486 0.177 318.7) | |
| Lab | lab(68.41 50.89 -42.27) | color: lab(68.41 50.89 -42.27) | |
| LCH | lch(68.41 66.16 320.29) | color: lch(68.41 66.16 320.29) |
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)
#B6B6D9 — rgb(182, 182, 217)
Deuteranopia (Green-blind)
#BBC2D3 — rgb(187, 194, 211)
Tritanopia (Blue-blind)
#D8C4BF — rgb(216, 196, 191)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(287, 84%, 74%);
text
color: hsl(287, 84%, 74%);
border
border: 2px solid hsl(287, 84%, 74%);
gradient light
background: linear-gradient(to right, hsl(287, 84%, 94%), hsl(287, 84%, 74%));
gradient dark
background: linear-gradient(to right, hsl(287, 84%, 74%), hsl(287, 84%, 54%))
hex
background-color: #DC85F4;
tailwind
bg-[hsl(287,84%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(287, 84%, 74%, 0.4);
css variable
--color-primary: hsl(287, 84%, 74%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(287, 84%, 74%)?
HEX: #DC85F4 | RGB: rgb(220, 133, 244) | CMYK: 10%, 45%, 0%, 4% | HSV: 287°, 45%, 96%. Copy any format from the conversion table above.
What colors go well with #DC85F4?
The complementary color is HSL(107, 84%, 74%). 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, 84%, 74%) in CSS?
As HSL: color: hsl(287, 84%, 74%); — As HEX: color: #DC85F4; — As RGB: color: rgb(220, 133, 244); — Tailwind CSS: bg-[hsl(287,84%,74%)] — CSS variable: --color-primary: hsl(287, 84%, 74%);