#964ECF#964ECF
#964ECF is a mid, vivid violet. Relative luminance 0.164; OKLCH L 57.1% C 0.195 H 307.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #964ECF |
|---|---|
| RGB | rgb(150, 78, 207) |
| HSL | hsl(273, 57%, 56%) |
| HSV | hsv(273, 62%, 81%) |
| CMYK | cmyk(27.5%, 62.3%, 0%, 18.8%) |
| CIE-LAB | lab(47.54, 53.00, -55.13) |
| CIE-LCH | lch(47.54, 76.47, 313.87°) |
| OKLab | oklab(57.07% 0.1172 -0.1558) |
| OKLCH | oklch(57.07% 0.195 307) |
| XYZ | xyz(26.5622, 16.4381, 60.7929) |
| Luminance | 0.1644 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.47
Purpley
#8756E4
ΔE00 4.96
Darkorchid
#9932CC
ΔE00 5.22
Amethyst
#9B5FC0
ΔE00 5.44
Deep Lavender
#8D5EB7
ΔE00 5.71
Purply
#983FB2
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#964ECF #87CF4E
analogous
#554ECF #964ECF #CF4EC8
triadic
#964ECF #CF964E #4ECF96
tetradic
#964ECF #CF554E #87CF4E #4EC8CF
square
#964ECF #CF554E #87CF4E #4EC8CF
split-complementary
#964ECF #C8CF4E #4ECF55
monochromatic
#572380 #7730B0 #964ECF #B37EDC #CFAEE9
Accessibility & contrast
On white
4.90
#964ECF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#964ECF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #964ECF
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##964ECF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##964ECF | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#3571CC
Tritanopia (blue-blind)
#8D6887
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #964ecf; /* rgb */ color: rgb(150, 78, 207); /* oklch */ color: oklch(57.1% 0.195 307.0);
Tailwind
colors: {
custom: {
50: '#b983de',
500: '#964ecf',
950: '#000000',
},
}SCSS
$custom: #964ecf; $custom-light: #b983de; $custom-dark: #000000;
JSON
{
"hex": "#964ecf",
"rgb": {
"r": 150,
"g": 78,
"b": 207
},
"hsl": {
"h": 273.488,
"s": 57.333,
"l": 55.882
},
"oklch": {
"l": 0.57068,
"c": 0.195,
"h": 307
},
"luminance": 0.16438
}Semantic roles & 50–950 ramp
primary
#964ECF
secondary
#B9D7A2
accent
#E1478B
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83