#9640C8#9640C8
#9640C8 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.9% C 0.206 H 310.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #9640C8 |
|---|---|
| RGB | rgb(150, 64, 200) |
| HSL | hsl(278, 55%, 52%) |
| HSV | hsv(278, 68%, 78%) |
| CMYK | cmyk(25%, 68%, 0%, 21.6%) |
| CIE-LAB | lab(44.69, 58.05, -55.69) |
| CIE-LCH | lch(44.69, 80.44, 316.19°) |
| OKLab | oklab(54.87% 0.1336 -0.1574) |
| OKLCH | oklch(54.87% 0.206 310.3) |
| XYZ | xyz(24.8344, 14.3215, 56.0885) |
| Luminance | 0.1432 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.20
Purply
#983FB2
ΔE00 3.81
Vibrant Purple
#AD03DE
ΔE00 5.44
Blueviolet
#8A2BE2
ΔE00 5.54
Violet (survey)
#9A0EEA
ΔE00 6.12
Barney
#AC1DB8
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9640C8 #72C840
analogous
#5240C8 #9640C8 #C840B6
triadic
#9640C8 #C89640 #40C896
tetradic
#9640C8 #C85240 #72C840 #40B6C8
square
#9640C8 #C85240 #72C840 #40B6C8
split-complementary
#9640C8 #B6C840 #40C852
monochromatic
#51206E #742D9D #9640C8 #B070D6 #CA9FE3
Accessibility & contrast
On white
5.43
#9640C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#9640C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9640C8
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9640C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9640C8 | 1.00 | 5.43 | 3.86 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#2B6BC5
Tritanopia (blue-blind)
#8F5D7F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9640c8; /* rgb */ color: rgb(150, 64, 200); /* oklch */ color: oklch(54.9% 0.206 310.3);
Tailwind
colors: {
custom: {
50: '#b97bd9',
500: '#9640c8',
950: '#000000',
},
}SCSS
$custom: #9640c8; $custom-light: #b97bd9; $custom-dark: #000000;
JSON
{
"hex": "#9640c8",
"rgb": {
"r": 150,
"g": 64,
"b": 200
},
"hsl": {
"h": 277.941,
"s": 55.285,
"l": 51.765
},
"oklch": {
"l": 0.54869,
"c": 0.20644,
"h": 310.3
},
"luminance": 0.14321
}Semantic roles & 50–950 ramp
primary
#9640C8
secondary
#AAD094
accent
#DF4980
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83