#964ED2#964ED2
#964ED2 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.3% C 0.198 H 306.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #964ED2 |
|---|---|
| RGB | rgb(150, 78, 210) |
| HSL | hsl(273, 59%, 56%) |
| HSV | hsv(273, 63%, 82%) |
| CMYK | cmyk(28.6%, 62.9%, 0%, 17.6%) |
| CIE-LAB | lab(47.73, 53.69, -56.54) |
| CIE-LCH | lch(47.73, 77.97, 313.52°) |
| OKLab | oklab(57.27% 0.1171 -0.16) |
| OKLCH | oklch(57.27% 0.198 306.2) |
| XYZ | xyz(26.9324, 16.5862, 62.7429) |
| Luminance | 0.1659 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.16
Purpley
#8756E4
ΔE00 4.58
Darkorchid
#9932CC
ΔE00 5.34
Amethyst
#9B5FC0
ΔE00 5.67
Deep Lavender
#8D5EB7
ΔE00 6.00
Purply
#983FB2
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#964ED2 #8AD24E
analogous
#544ED2 #964ED2 #D24ECC
triadic
#964ED2 #D2964E #4ED296
tetradic
#964ED2 #D2544E #8AD24E #4ECCD2
square
#964ED2 #D2544E #8AD24E #4ECCD2
split-complementary
#964ED2 #CCD24E #4ED254
monochromatic
#572284 #782EB5 #964ED2 #B37FDE #D0B0EB
Accessibility & contrast
On white
4.86
#964ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#964ED2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #964ED2
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##964ED2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##964ED2 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#3172CF
Tritanopia (blue-blind)
#8C6989
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #964ed2; /* rgb */ color: rgb(150, 78, 210); /* oklch */ color: oklch(57.3% 0.198 306.2);
Tailwind
colors: {
custom: {
50: '#b984e0',
500: '#964ed2',
950: '#000000',
},
}SCSS
$custom: #964ed2; $custom-light: #b984e0; $custom-dark: #000000;
JSON
{
"hex": "#964ed2",
"rgb": {
"r": 150,
"g": 78,
"b": 210
},
"hsl": {
"h": 272.727,
"s": 59.459,
"l": 56.471
},
"oklch": {
"l": 0.57267,
"c": 0.19825,
"h": 306.2
},
"luminance": 0.16586
}Semantic roles & 50–950 ramp
primary
#964ED2
secondary
#BBD9A3
accent
#E3458D
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83