#9E52DC#9E52DC
#9E52DC is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.4% C 0.206 H 306.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9E52DC |
|---|---|
| RGB | rgb(158, 82, 220) |
| HSL | hsl(273, 66%, 59%) |
| HSV | hsv(273, 63%, 86%) |
| CMYK | cmyk(28.2%, 62.7%, 0%, 13.7%) |
| CIE-LAB | lab(50.06, 55.81, -58.45) |
| CIE-LCH | lch(50.06, 80.81, 313.67°) |
| OKLab | oklab(59.37% 0.1223 -0.1653) |
| OKLCH | oklch(59.37% 0.206 306.5) |
| XYZ | xyz(30.0334, 18.4713, 69.6794) |
| Luminance | 0.1847 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.82
Lighter Purple
#A55AF4
ΔE00 4.34
Purpley
#8756E4
ΔE00 4.62
Amethyst
#9B5FC0
ΔE00 5.47
Mediumorchid
#BA55D3
ΔE00 6.25
Electric Purple
#AA23FF
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E52DC #90DC52
analogous
#5952DC #9E52DC #DC52D5
triadic
#9E52DC #DC9E52 #52DC9E
tetradic
#9E52DC #DC5952 #90DC52 #52D5DC
square
#9E52DC #DC5952 #90DC52 #52D5DC
split-complementary
#9E52DC #D5DC52 #52DC59
monochromatic
#601E95 #8129C8 #9E52DC #BB85E6 #D7B8F1
Accessibility & contrast
On white
4.47
#9E52DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#9E52DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E52DC
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E52DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E52DC | 1.00 | 4.47 | 4.69 | 4.69 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#3578D9
Tritanopia (blue-blind)
#946E90
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9e52dc; /* rgb */ color: rgb(158, 82, 220); /* oklch */ color: oklch(59.4% 0.206 306.5);
Tailwind
colors: {
custom: {
50: '#bf87e8',
500: '#9e52dc',
950: '#000000',
},
}SCSS
$custom: #9e52dc; $custom-light: #bf87e8; $custom-dark: #000000;
JSON
{
"hex": "#9e52dc",
"rgb": {
"r": 158,
"g": 82,
"b": 220
},
"hsl": {
"h": 273.043,
"s": 66.346,
"l": 59.216
},
"oklch": {
"l": 0.59366,
"c": 0.20563,
"h": 306.5
},
"luminance": 0.18471
}Semantic roles & 50–950 ramp
primary
#9E52DC
secondary
#C2E0AA
accent
#E93F8B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84