#9640C1#9640C1
#9640C1 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.4% C 0.200 H 312.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9640C1 |
|---|---|
| RGB | rgb(150, 64, 193) |
| HSL | hsl(280, 51%, 50%) |
| HSV | hsv(280, 67%, 76%) |
| CMYK | cmyk(22.3%, 66.8%, 0%, 24.3%) |
| CIE-LAB | lab(44.24, 56.55, -52.35) |
| CIE-LCH | lch(44.24, 77.06, 317.21°) |
| OKLab | oklab(54.4% 0.1342 -0.1476) |
| OKLCH | oklch(54.4% 0.2 312.3) |
| XYZ | xyz(24.0350, 14.0017, 51.8782) |
| Luminance | 0.1400 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.57
Purply
#983FB2
ΔE00 2.71
Barney
#AC1DB8
ΔE00 5.55
Vibrant Purple
#AD03DE
ΔE00 5.87
Blueviolet
#8A2BE2
ΔE00 6.33
Medium Purple
#9E43A2
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9640C1 #6BC140
analogous
#5540C1 #9640C1 #C140AB
triadic
#9640C1 #C19640 #40C196
tetradic
#9640C1 #C15540 #6BC140 #40ABC1
square
#9640C1 #C15540 #6BC140 #40ABC1
split-complementary
#9640C1 #ABC140 #40C155
monochromatic
#4F2166 #733094 #9640C1 #AF6ED0 #C99CDF
Accessibility & contrast
On white
5.53
#9640C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#9640C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9640C1
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9640C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9640C1 | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#346ABE
Tritanopia (blue-blind)
#915A7B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9640c1; /* rgb */ color: rgb(150, 64, 193); /* oklch */ color: oklch(54.4% 0.200 312.3);
Tailwind
colors: {
custom: {
50: '#b97bd4',
500: '#9640c1',
950: '#000000',
},
}SCSS
$custom: #9640c1; $custom-light: #b97bd4; $custom-dark: #000000;
JSON
{
"hex": "#9640c1",
"rgb": {
"r": 150,
"g": 64,
"b": 193
},
"hsl": {
"h": 280,
"s": 50.988,
"l": 50.392
},
"oklch": {
"l": 0.54398,
"c": 0.1995,
"h": 312.3
},
"luminance": 0.14001
}Semantic roles & 50–950 ramp
primary
#9640C1
secondary
#A5CB92
accent
#DA4D7C
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83