#8A64C4#8A64C4
#8A64C4 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.4% C 0.146 H 300.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8A64C4 |
|---|---|
| RGB | rgb(138, 100, 196) |
| HSL | hsl(264, 45%, 58%) |
| HSV | hsv(264, 49%, 77%) |
| CMYK | cmyk(29.6%, 49%, 0%, 23.1%) |
| CIE-LAB | lab(50.10, 35.44, -44.80) |
| CIE-LCH | lch(50.10, 57.12, 308.35°) |
| OKLab | oklab(58.44% 0.0734 -0.126) |
| OKLCH | oklch(58.44% 0.146 300.2) |
| XYZ | xyz(24.9999, 18.5030, 54.4682) |
| Luminance | 0.1850 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.22
Amethyst
#9B5FC0
ΔE00 4.26
Deep Lilac
#966EBD
ΔE00 4.78
Mediumpurple
#9370DB
ΔE00 5.23
Purpley
#8756E4
ΔE00 6.36
Light Indigo
#6D5ACF
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A64C4 #9EC464
analogous
#646EC4 #8A64C4 #BA64C4
triadic
#8A64C4 #C48A64 #64C48A
tetradic
#8A64C4 #C4646E #9EC464 #64C4BA
square
#8A64C4 #C4646E #9EC464 #64C4BA
split-complementary
#8A64C4 #C4BA64 #6EC464
monochromatic
#4F307E #6A41AA #8A64C4 #AB90D5 #CDBDE6
Accessibility & contrast
On white
4.47
#8A64C4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#8A64C4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A64C4
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A64C4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A64C4 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4577C7
Deuteranopia (green-blind)
#4F77C2
Tritanopia (blue-blind)
#7F768B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8a64c4; /* rgb */ color: rgb(138, 100, 196); /* oklch */ color: oklch(58.4% 0.146 300.2);
Tailwind
colors: {
custom: {
50: '#af91d6',
500: '#8a64c4',
950: '#000000',
},
}SCSS
$custom: #8a64c4; $custom-light: #af91d6; $custom-dark: #000000;
JSON
{
"hex": "#8a64c4",
"rgb": {
"r": 138,
"g": 100,
"b": 196
},
"hsl": {
"h": 263.75,
"s": 44.86,
"l": 58.039
},
"oklch": {
"l": 0.58439,
"c": 0.14578,
"h": 300.2
},
"luminance": 0.18503
}Semantic roles & 50–950 ramp
primary
#8A64C4
secondary
#C6D5AF
accent
#D553A1
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110D14
muted
#807D83