#964BB5#964BB5
#964BB5 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.0% C 0.172 H 314.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #964BB5 |
|---|---|
| RGB | rgb(150, 75, 181) |
| HSL | hsl(282, 42%, 50%) |
| HSV | hsv(282, 59%, 71%) |
| CMYK | cmyk(17.1%, 58.6%, 0%, 29%) |
| CIE-LAB | lab(45.43, 48.73, -43.43) |
| CIE-LCH | lch(45.43, 65.27, 318.29°) |
| OKLab | oklab(55.03% 0.1211 -0.1216) |
| OKLCH | oklch(55.03% 0.172 314.9) |
| XYZ | xyz(23.4329, 14.8531, 45.3397) |
| Luminance | 0.1485 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.59
Medium Purple
#9E43A2
ΔE00 4.59
Deep Lavender
#8D5EB7
ΔE00 5.26
Darkorchid
#9932CC
ΔE00 5.65
Amethyst
#9B5FC0
ΔE00 5.65
Ugly Purple
#A442A0
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#964BB5 #6AB54B
analogous
#614BB5 #964BB5 #B54B9F
triadic
#964BB5 #B5964B #4BB596
tetradic
#964BB5 #B5614B #6AB54B #4B9FB5
square
#964BB5 #B5614B #6AB54B #4B9FB5
split-complementary
#964BB5 #9FB54B #4BB561
monochromatic
#4E275F #72398A #964BB5 #AF76C7 #C9A2D9
Accessibility & contrast
On white
5.29
#964BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#964BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #964BB5
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##964BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##964BB5 | 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)
#2D67B8
Deuteranopia (green-blind)
#496EB2
Tritanopia (blue-blind)
#945D79
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #964bb5; /* rgb */ color: rgb(150, 75, 181); /* oklch */ color: oklch(55.0% 0.172 314.9);
Tailwind
colors: {
custom: {
50: '#b881cc',
500: '#964bb5',
950: '#000000',
},
}SCSS
$custom: #964bb5; $custom-light: #b881cc; $custom-dark: #000000;
JSON
{
"hex": "#964bb5",
"rgb": {
"r": 150,
"g": 75,
"b": 181
},
"hsl": {
"h": 282.453,
"s": 41.732,
"l": 50.196
},
"oklch": {
"l": 0.55032,
"c": 0.17158,
"h": 314.9
},
"luminance": 0.14852
}Semantic roles & 50–950 ramp
primary
#964BB5
secondary
#A4C696
accent
#D2567A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B13
muted
#817C82