#964CB2#964CB2
#964CB2 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.0% C 0.167 H 315.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #964CB2 |
|---|---|
| RGB | rgb(150, 76, 178) |
| HSL | hsl(284, 40%, 50%) |
| HSV | hsv(284, 57%, 70%) |
| CMYK | cmyk(15.7%, 57.3%, 0%, 30.2%) |
| CIE-LAB | lab(45.45, 47.58, -41.64) |
| CIE-LCH | lch(45.45, 63.23, 318.81°) |
| OKLab | oklab(54.99% 0.1197 -0.1163) |
| OKLCH | oklch(54.99% 0.167 315.8) |
| XYZ | xyz(23.1968, 14.8680, 43.7587) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.77
Medium Purple
#9E43A2
ΔE00 4.18
Deep Lavender
#8D5EB7
ΔE00 5.17
Ugly Purple
#A442A0
ΔE00 5.33
Amethyst
#9B5FC0
ΔE00 5.61
Darkorchid
#9932CC
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#964CB2 #68B24C
analogous
#634CB2 #964CB2 #B24C9B
triadic
#964CB2 #B2964C #4CB296
tetradic
#964CB2 #B2634C #68B24C #4C9BB2
square
#964CB2 #B2634C #68B24C #4C9BB2
split-complementary
#964CB2 #9BB24C #4CB263
monochromatic
#4E275C #723A87 #964CB2 #AF76C5 #C8A1D7
Accessibility & contrast
On white
5.29
#964CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#964CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #964CB2
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##964CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##964CB2 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#4C6EAF
Tritanopia (blue-blind)
#945D78
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #964cb2; /* rgb */ color: rgb(150, 76, 178); /* oklch */ color: oklch(55.0% 0.167 315.8);
Tailwind
colors: {
custom: {
50: '#b782c9',
500: '#964cb2',
950: '#000000',
},
}SCSS
$custom: #964cb2; $custom-light: #b782c9; $custom-dark: #000000;
JSON
{
"hex": "#964cb2",
"rgb": {
"r": 150,
"g": 76,
"b": 178
},
"hsl": {
"h": 283.529,
"s": 40.157,
"l": 49.804
},
"oklch": {
"l": 0.54993,
"c": 0.16689,
"h": 315.8
},
"luminance": 0.14867
}Semantic roles & 50–950 ramp
primary
#964CB2
secondary
#A2C496
accent
#D05879
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82