#964EBF#964EBF
#964EBF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.0% C 0.178 H 311.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #964EBF |
|---|---|
| RGB | rgb(150, 78, 191) |
| HSL | hsl(278, 47%, 53%) |
| HSV | hsv(278, 59%, 75%) |
| CMYK | cmyk(21.5%, 59.2%, 0%, 25.1%) |
| CIE-LAB | lab(46.57, 49.39, -47.45) |
| CIE-LCH | lch(46.57, 68.49, 316.15°) |
| OKLab | oklab(56.05% 0.1175 -0.1333) |
| OKLCH | oklch(56.05% 0.178 311.4) |
| XYZ | xyz(24.7043, 15.6950, 51.0082) |
| Luminance | 0.1569 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.99
Deep Lavender
#8D5EB7
ΔE00 4.61
Amethyst
#9B5FC0
ΔE00 4.73
Darkorchid
#9932CC
ΔE00 5.39
Medium Purple
#9E43A2
ΔE00 6.38
Royal Purple
#7851A9
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#964EBF #77BF4E
analogous
#5D4EBF #964EBF #BF4EB0
triadic
#964EBF #BF964E #4EBF96
tetradic
#964EBF #BF5D4E #77BF4E #4EB0BF
square
#964EBF #BF5D4E #77BF4E #4EB0BF
split-complementary
#964EBF #B0BF4E #4EBF5D
monochromatic
#53276C #753799 #964EBF #B17BCF #CBA8E0
Accessibility & contrast
On white
5.07
#964EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#964EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #964EBF
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##964EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##964EBF | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#276BC3
Deuteranopia (green-blind)
#4570BC
Tritanopia (blue-blind)
#91637F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #964ebf; /* rgb */ color: rgb(150, 78, 191); /* oklch */ color: oklch(56.0% 0.178 311.4);
Tailwind
colors: {
custom: {
50: '#b883d3',
500: '#964ebf',
950: '#000000',
},
}SCSS
$custom: #964ebf; $custom-light: #b883d3; $custom-dark: #000000;
JSON
{
"hex": "#964ebf",
"rgb": {
"r": 150,
"g": 78,
"b": 191
},
"hsl": {
"h": 278.23,
"s": 46.888,
"l": 52.745
},
"oklch": {
"l": 0.56049,
"c": 0.1777,
"h": 311.4
},
"luminance": 0.15694
}Semantic roles & 50–950 ramp
primary
#964EBF
secondary
#AECD9C
accent
#D75182
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83