#964EBD#964EBD
#964EBD is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.9% C 0.176 H 312.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #964EBD |
|---|---|
| RGB | rgb(150, 78, 189) |
| HSL | hsl(279, 46%, 52%) |
| HSV | hsv(279, 59%, 74%) |
| CMYK | cmyk(20.6%, 58.7%, 0%, 25.9%) |
| CIE-LAB | lab(46.46, 48.94, -46.47) |
| CIE-LCH | lch(46.46, 67.49, 316.48°) |
| OKLab | oklab(55.93% 0.1175 -0.1305) |
| OKLCH | oklch(55.93% 0.176 312) |
| XYZ | xyz(24.4857, 15.6075, 49.8569) |
| Luminance | 0.1561 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.79
Deep Lavender
#8D5EB7
ΔE00 4.56
Amethyst
#9B5FC0
ΔE00 4.73
Darkorchid
#9932CC
ΔE00 5.51
Medium Purple
#9E43A2
ΔE00 6.07
Royal Purple
#7851A9
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#964EBD #75BD4E
analogous
#5F4EBD #964EBD #BD4EAC
triadic
#964EBD #BD964E #4EBD96
tetradic
#964EBD #BD5F4E #75BD4E #4EACBD
square
#964EBD #BD5F4E #75BD4E #4EACBD
split-complementary
#964EBD #ACBD4E #4EBD5F
monochromatic
#522769 #753896 #964EBD #B07BCE #CBA7DE
Accessibility & contrast
On white
5.10
#964EBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#964EBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #964EBD
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##964EBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##964EBD | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#296AC1
Deuteranopia (green-blind)
#4670BA
Tritanopia (blue-blind)
#92627E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #964ebd; /* rgb */ color: rgb(150, 78, 189); /* oklch */ color: oklch(55.9% 0.176 312.0);
Tailwind
colors: {
custom: {
50: '#b883d1',
500: '#964ebd',
950: '#000000',
},
}SCSS
$custom: #964ebd; $custom-light: #b883d1; $custom-dark: #000000;
JSON
{
"hex": "#964ebd",
"rgb": {
"r": 150,
"g": 78,
"b": 189
},
"hsl": {
"h": 278.919,
"s": 45.679,
"l": 52.353
},
"oklch": {
"l": 0.55927,
"c": 0.17554,
"h": 312
},
"luminance": 0.15607
}Semantic roles & 50–950 ramp
primary
#964EBD
secondary
#ACCC9B
accent
#D55280
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82