#9E62DB#9E62DB
#9E62DB is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.5% C 0.181 H 304.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9E62DB |
|---|---|
| RGB | rgb(158, 98, 219) |
| HSL | hsl(270, 63%, 62%) |
| HSV | hsv(270, 55%, 86%) |
| CMYK | cmyk(27.9%, 55.3%, 0%, 14.1%) |
| CIE-LAB | lab(53.08, 47.35, -53.04) |
| CIE-LCH | lch(53.08, 71.10, 311.75°) |
| OKLab | oklab(61.55% 0.1028 -0.1495) |
| OKLCH | oklch(61.55% 0.181 304.5) |
| XYZ | xyz(31.2516, 21.1191, 69.4341) |
| Luminance | 0.2112 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.77
Lighter Purple
#A55AF4
ΔE00 3.82
Mediumpurple
#9370DB
ΔE00 4.47
Amethyst
#9B5FC0
ΔE00 4.65
Purpley
#8756E4
ΔE00 5.96
Light Urple
#B36FF6
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E62DB #9FDB62
analogous
#6263DB #9E62DB #DA62DB
triadic
#9E62DB #DB9E62 #62DB9E
tetradic
#9E62DB #DB6263 #9FDB62 #62DBDA
square
#9E62DB #DB6263 #9FDB62 #62DBDA
split-complementary
#9E62DB #DBDA62 #63DB62
monochromatic
#61249E #7F30D0 #9E62DB #BD94E6 #DCC6F2
Accessibility & contrast
On white
4.02
#9E62DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#9E62DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E62DB
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E62DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E62DB | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#357DDF
Deuteranopia (green-blind)
#4A7FD8
Tritanopia (blue-blind)
#937995
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9e62db; /* rgb */ color: rgb(158, 98, 219); /* oklch */ color: oklch(61.5% 0.181 304.5);
Tailwind
colors: {
custom: {
50: '#be91e7',
500: '#9e62db',
950: '#000000',
},
}SCSS
$custom: #9e62db; $custom-light: #be91e7; $custom-dark: #000000;
JSON
{
"hex": "#9e62db",
"rgb": {
"r": 158,
"g": 98,
"b": 219
},
"hsl": {
"h": 269.752,
"s": 62.694,
"l": 62.157
},
"oklch": {
"l": 0.61547,
"c": 0.18146,
"h": 304.5
},
"luminance": 0.21119
}Semantic roles & 50–950 ramp
primary
#9E62DB
secondary
#CDE3B6
accent
#CA1B73
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#120D16
muted
#817E84