#964CD4#964CD4
#964CD4 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.203 H 306.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #964CD4 |
|---|---|
| RGB | rgb(150, 76, 212) |
| HSL | hsl(273, 61%, 56%) |
| HSV | hsv(273, 64%, 83%) |
| CMYK | cmyk(29.2%, 64.2%, 0%, 16.9%) |
| CIE-LAB | lab(47.50, 55.14, -58.06) |
| CIE-LCH | lch(47.50, 80.07, 313.52°) |
| OKLab | oklab(57.14% 0.1193 -0.1644) |
| OKLCH | oklch(57.14% 0.203 306) |
| XYZ | xyz(27.0432, 16.4066, 64.0167) |
| Luminance | 0.1641 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.22
Purpley
#8756E4
ΔE00 4.53
Darkorchid
#9932CC
ΔE00 5.01
Amethyst
#9B5FC0
ΔE00 6.17
Purply
#983FB2
ΔE00 6.43
Deep Lavender
#8D5EB7
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#964CD4 #8AD44C
analogous
#524CD4 #964CD4 #D44CCE
triadic
#964CD4 #D4964C #4CD496
tetradic
#964CD4 #D4524C #8AD44C #4CCED4
square
#964CD4 #D4524C #8AD44C #4CCED4
split-complementary
#964CD4 #CED44C #4CD452
monochromatic
#572086 #782CB7 #964CD4 #B37DE0 #D0AFEC
Accessibility & contrast
On white
4.91
#964CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#964CD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #964CD4
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##964CD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##964CD4 | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#2B71D1
Tritanopia (blue-blind)
#8B6989
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #964cd4; /* rgb */ color: rgb(150, 76, 212); /* oklch */ color: oklch(57.1% 0.203 306.0);
Tailwind
colors: {
custom: {
50: '#b982e2',
500: '#964cd4',
950: '#000000',
},
}SCSS
$custom: #964cd4; $custom-light: #b982e2; $custom-dark: #000000;
JSON
{
"hex": "#964cd4",
"rgb": {
"r": 150,
"g": 76,
"b": 212
},
"hsl": {
"h": 272.647,
"s": 61.261,
"l": 56.471
},
"oklch": {
"l": 0.57141,
"c": 0.20313,
"h": 306
},
"luminance": 0.16406
}Semantic roles & 50–950 ramp
primary
#964CD4
secondary
#BBDAA2
accent
#E4438D
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83