HSL(287, 63%, 48%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(287,63%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(287, 63%, 48%) | color: hsl(287, 63%, 48%) | |
| HEX | #A62DC8 | color: #A62DC8 | |
| RGB | rgb(166, 45, 200) | color: rgb(166, 45, 200) | |
| CMYK | cmyk(17%, 78%, 0%, 22%) | — | |
| HSV | hsv(287, 78%, 78%) | — | |
| HWB | hwb(287 17% 22%) | color: hwb(287 17% 22%) | |
| OKLCH | oklch(0.5517 0.233 317.45) | color: oklch(0.5517 0.233 317.45) | |
| Lab | lab(44.45 68.46 -55.95) | color: lab(44.45 68.46 -55.95) | |
| LCH | lch(44.45 88.41 320.74) | color: lch(44.45 88.41 320.74) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#7271A2 — rgb(114, 113, 162)
Deuteranopia (Green-blind)
#79829A — rgb(121, 130, 154)
Tritanopia (Blue-blind)
#A0857E — rgb(160, 133, 126)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(287, 63%, 48%);
text
color: hsl(287, 63%, 48%);
border
border: 2px solid hsl(287, 63%, 48%);
gradient light
background: linear-gradient(to right, hsl(287, 63%, 68%), hsl(287, 63%, 48%));
gradient dark
background: linear-gradient(to right, hsl(287, 63%, 48%), hsl(287, 63%, 28%))
hex
background-color: #A62DC8;
tailwind
bg-[hsl(287,63%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(287, 63%, 48%, 0.4);
css variable
--color-primary: hsl(287, 63%, 48%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(287, 63%, 48%)?
HEX: #A62DC8 | RGB: rgb(166, 45, 200) | CMYK: 17%, 78%, 0%, 22% | HSV: 287°, 78%, 78%. Copy any format from the conversion table above.
What colors go well with #A62DC8?
The complementary color is HSL(107, 63%, 48%). 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, 63%, 48%) in CSS?
As HSL: color: hsl(287, 63%, 48%); — As HEX: color: #A62DC8; — As RGB: color: rgb(166, 45, 200); — Tailwind CSS: bg-[hsl(287,63%,48%)] — CSS variable: --color-primary: hsl(287, 63%, 48%);