#964CBA#964CBA
#964CBA is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.5% C 0.175 H 313.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #964CBA |
|---|---|
| RGB | rgb(150, 76, 186) |
| HSL | hsl(280, 44%, 51%) |
| HSV | hsv(280, 59%, 73%) |
| CMYK | cmyk(19.4%, 59.1%, 0%, 27.1%) |
| CIE-LAB | lab(45.91, 49.30, -45.60) |
| CIE-LCH | lch(45.91, 67.16, 317.23°) |
| OKLab | oklab(55.47% 0.12 -0.1279) |
| OKLCH | oklch(55.47% 0.175 313.2) |
| XYZ | xyz(24.0235, 15.1987, 48.1130) |
| Luminance | 0.1520 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.12
Deep Lavender
#8D5EB7
ΔE00 4.96
Amethyst
#9B5FC0
ΔE00 5.25
Darkorchid
#9932CC
ΔE00 5.33
Medium Purple
#9E43A2
ΔE00 5.46
Royal Purple
#7851A9
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#964CBA #70BA4C
analogous
#5F4CBA #964CBA #BA4CA7
triadic
#964CBA #BA964C #4CBA96
tetradic
#964CBA #BA5F4C #70BA4C #4CA7BA
square
#964CBA #BA5F4C #70BA4C #4CA7BA
split-complementary
#964CBA #A7BA4C #4CBA5F
monochromatic
#502765 #743891 #964CBA #B078CB #CAA4DC
Accessibility & contrast
On white
5.20
#964CBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#964CBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #964CBA
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##964CBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##964CBA | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2969BD
Deuteranopia (green-blind)
#476EB7
Tritanopia (blue-blind)
#92607C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #964cba; /* rgb */ color: rgb(150, 76, 186); /* oklch */ color: oklch(55.5% 0.175 313.2);
Tailwind
colors: {
custom: {
50: '#b882cf',
500: '#964cba',
950: '#000000',
},
}SCSS
$custom: #964cba; $custom-light: #b882cf; $custom-dark: #000000;
JSON
{
"hex": "#964cba",
"rgb": {
"r": 150,
"g": 76,
"b": 186
},
"hsl": {
"h": 280.364,
"s": 44.355,
"l": 51.373
},
"oklch": {
"l": 0.5547,
"c": 0.17535,
"h": 313.2
},
"luminance": 0.15198
}Semantic roles & 50–950 ramp
primary
#964CBA
secondary
#A9C999
accent
#D4547E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82