#964ABA#964ABA
#964ABA is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.2% C 0.178 H 313.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #964ABA |
|---|---|
| RGB | rgb(150, 74, 186) |
| HSL | hsl(281, 45%, 51%) |
| HSV | hsv(281, 60%, 73%) |
| CMYK | cmyk(19.4%, 60.2%, 0%, 27.1%) |
| CIE-LAB | lab(45.53, 50.30, -46.19) |
| CIE-LCH | lch(45.53, 68.29, 317.44°) |
| OKLab | oklab(55.2% 0.1225 -0.1296) |
| OKLCH | oklch(55.2% 0.178 313.4) |
| XYZ | xyz(23.8879, 14.9274, 48.0678) |
| Luminance | 0.1493 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.73
Darkorchid
#9932CC
ΔE00 4.93
Medium Purple
#9E43A2
ΔE00 5.35
Deep Lavender
#8D5EB7
ΔE00 5.39
Amethyst
#9B5FC0
ΔE00 5.70
Royal Purple
#7851A9
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#964ABA #6EBA4A
analogous
#5E4ABA #964ABA #BA4AA6
triadic
#964ABA #BA964A #4ABA96
tetradic
#964ABA #BA5E4A #6EBA4A #4AA6BA
square
#964ABA #BA5E4A #6EBA4A #4AA6BA
split-complementary
#964ABA #A6BA4A #4ABA5E
monochromatic
#502664 #733790 #964ABA #B076CB #C9A3DC
Accessibility & contrast
On white
5.27
#964ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#964ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #964ABA
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##964ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##964ABA | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2468BE
Deuteranopia (green-blind)
#456EB7
Tritanopia (blue-blind)
#935E7B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #964aba; /* rgb */ color: rgb(150, 74, 186); /* oklch */ color: oklch(55.2% 0.178 313.4);
Tailwind
colors: {
custom: {
50: '#b881cf',
500: '#964aba',
950: '#000000',
},
}SCSS
$custom: #964aba; $custom-light: #b881cf; $custom-dark: #000000;
JSON
{
"hex": "#964aba",
"rgb": {
"r": 150,
"g": 74,
"b": 186
},
"hsl": {
"h": 280.714,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.552,
"c": 0.17834,
"h": 313.4
},
"luminance": 0.14927
}Semantic roles & 50–950 ramp
primary
#964ABA
secondary
#A7C997
accent
#D5537D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82