#964FC7#964FC7
#964FC7 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.7% C 0.185 H 309.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #964FC7 |
|---|---|
| RGB | rgb(150, 79, 199) |
| HSL | hsl(276, 52%, 55%) |
| HSV | hsv(276, 60%, 78%) |
| CMYK | cmyk(24.6%, 60.3%, 0%, 22%) |
| CIE-LAB | lab(47.24, 50.67, -51.02) |
| CIE-LCH | lch(47.24, 71.91, 314.80°) |
| OKLab | oklab(56.69% 0.1162 -0.1438) |
| OKLCH | oklch(56.69% 0.185 309) |
| XYZ | xyz(25.6804, 16.1999, 55.7958) |
| Luminance | 0.1620 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.73
Deep Lavender
#8D5EB7
ΔE00 4.85
Purply
#983FB2
ΔE00 5.09
Lightish Purple
#A552E6
ΔE00 5.33
Darkorchid
#9932CC
ΔE00 5.35
Purpley
#8756E4
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#964FC7 #80C74F
analogous
#5A4FC7 #964FC7 #C74FBC
triadic
#964FC7 #C7964F #4FC796
tetradic
#964FC7 #C75A4F #80C74F #4FBCC7
square
#964FC7 #C75A4F #80C74F #4FBCC7
split-complementary
#964FC7 #BCC74F #4FC75A
monochromatic
#552676 #7734A4 #964FC7 #B27DD6 #CDACE5
Accessibility & contrast
On white
4.95
#964FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#964FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #964FC7
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##964FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##964FC7 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C6DCB
Deuteranopia (green-blind)
#3F71C4
Tritanopia (blue-blind)
#8F6684
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #964fc7; /* rgb */ color: rgb(150, 79, 199); /* oklch */ color: oklch(56.7% 0.185 309.0);
Tailwind
colors: {
custom: {
50: '#b884d9',
500: '#964fc7',
950: '#000000',
},
}SCSS
$custom: #964fc7; $custom-light: #b884d9; $custom-dark: #000000;
JSON
{
"hex": "#964fc7",
"rgb": {
"r": 150,
"g": 79,
"b": 199
},
"hsl": {
"h": 275.5,
"s": 51.724,
"l": 54.51
},
"oklch": {
"l": 0.56686,
"c": 0.18489,
"h": 309
},
"luminance": 0.162
}Semantic roles & 50–950 ramp
primary
#964FC7
secondary
#B4D2A0
accent
#DB4D87
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B15
muted
#817C83