#8640C0#8640C0
#8640C0 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.4% C 0.194 H 305.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8640C0 |
|---|---|
| RGB | rgb(134, 64, 192) |
| HSL | hsl(273, 50%, 50%) |
| HSV | hsv(273, 67%, 75%) |
| CMYK | cmyk(30.2%, 66.7%, 0%, 24.7%) |
| CIE-LAB | lab(42.06, 52.85, -55.38) |
| CIE-LCH | lch(42.06, 76.55, 313.66°) |
| OKLab | oklab(52.37% 0.1133 -0.157) |
| OKLCH | oklch(52.37% 0.194 305.8) |
| XYZ | xyz(21.1773, 12.5411, 51.1640) |
| Luminance | 0.1254 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.67
Purply
#983FB2
ΔE00 4.82
Blueviolet
#8A2BE2
ΔE00 5.19
Royal Purple
#7851A9
ΔE00 5.93
Darkviolet
#9400D3
ΔE00 6.22
Bluey Purple
#6241C7
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8640C0 #7AC040
analogous
#4640C0 #8640C0 #C040BA
triadic
#8640C0 #C08640 #40C086
tetradic
#8640C0 #C04640 #7AC040 #40BAC0
square
#8640C0 #C04640 #7AC040 #40BAC0
split-complementary
#8640C0 #BAC040 #40C046
monochromatic
#462164 #663092 #8640C0 #A36ECF #C09CDE
Accessibility & contrast
On white
5.99
#8640C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#8640C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8640C0
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8640C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8640C0 | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#1C64BD
Tritanopia (blue-blind)
#7C5C7B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8640c0; /* rgb */ color: rgb(134, 64, 192); /* oklch */ color: oklch(52.4% 0.194 305.8);
Tailwind
colors: {
custom: {
50: '#ae7ad4',
500: '#8640c0',
950: '#000000',
},
}SCSS
$custom: #8640c0; $custom-light: #ae7ad4; $custom-dark: #000000;
JSON
{
"hex": "#8640c0",
"rgb": {
"r": 134,
"g": 64,
"b": 192
},
"hsl": {
"h": 272.813,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.52368,
"c": 0.19365,
"h": 305.8
},
"luminance": 0.12541
}Semantic roles & 50–950 ramp
primary
#8640C0
secondary
#ABCB91
accent
#DA4E8D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83