#8A67C6#8A67C6
#8A67C6 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.1% C 0.144 H 298.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8A67C6 |
|---|---|
| RGB | rgb(138, 103, 198) |
| HSL | hsl(262, 45%, 59%) |
| HSV | hsv(262, 48%, 78%) |
| CMYK | cmyk(30.3%, 48%, 0%, 22.4%) |
| CIE-LAB | lab(50.90, 34.22, -44.68) |
| CIE-LCH | lch(50.90, 56.28, 307.45°) |
| OKLab | oklab(59.07% 0.0695 -0.1256) |
| OKLCH | oklch(59.07% 0.144 298.9) |
| XYZ | xyz(25.5221, 19.1808, 55.7728) |
| Luminance | 0.1918 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.05
Mediumpurple
#9370DB
ΔE00 4.42
Deep Lilac
#966EBD
ΔE00 4.44
Amethyst
#9B5FC0
ΔE00 4.79
Purpley
#8756E4
ΔE00 6.68
Mediumslateblue
#7B68EE
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A67C6 #A3C667
analogous
#6774C6 #8A67C6 #BA67C6
triadic
#8A67C6 #C68A67 #67C68A
tetradic
#8A67C6 #C66774 #A3C667 #67C6BA
square
#8A67C6 #C66774 #A3C667 #67C6BA
split-complementary
#8A67C6 #C6BA67 #74C667
monochromatic
#4F3182 #6A41AE #8A67C6 #AC94D7 #CFC0E7
Accessibility & contrast
On white
4.34
#8A67C6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#8A67C6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A67C6
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A67C6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A67C6 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4979C9
Deuteranopia (green-blind)
#5178C4
Tritanopia (blue-blind)
#7E798D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8a67c6; /* rgb */ color: rgb(138, 103, 198); /* oklch */ color: oklch(59.1% 0.144 298.9);
Tailwind
colors: {
custom: {
50: '#af93d8',
500: '#8a67c6',
950: '#000000',
},
}SCSS
$custom: #8a67c6; $custom-light: #af93d8; $custom-dark: #000000;
JSON
{
"hex": "#8a67c6",
"rgb": {
"r": 138,
"g": 103,
"b": 198
},
"hsl": {
"h": 262.105,
"s": 45.455,
"l": 59.02
},
"oklch": {
"l": 0.5907,
"c": 0.14358,
"h": 298.9
},
"luminance": 0.19181
}Semantic roles & 50–950 ramp
primary
#8A67C6
secondary
#C9D7B2
accent
#D553A5
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#110D14
muted
#807E83