#8A67C7#8A67C7
#8A67C7 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.1% C 0.145 H 298.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8A67C7 |
|---|---|
| RGB | rgb(138, 103, 199) |
| HSL | hsl(262, 46%, 59%) |
| HSV | hsv(262, 48%, 78%) |
| CMYK | cmyk(30.7%, 48.2%, 0%, 22%) |
| CIE-LAB | lab(50.95, 34.48, -45.17) |
| CIE-LCH | lch(50.95, 56.82, 307.35°) |
| OKLab | oklab(59.13% 0.0696 -0.1271) |
| OKLCH | oklch(59.13% 0.145 298.7) |
| XYZ | xyz(25.6378, 19.2271, 56.3822) |
| Luminance | 0.1923 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.18
Mediumpurple
#9370DB
ΔE00 4.29
Deep Lilac
#966EBD
ΔE00 4.55
Amethyst
#9B5FC0
ΔE00 4.87
Purpley
#8756E4
ΔE00 6.55
Mediumslateblue
#7B68EE
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A67C7 #A4C767
analogous
#6774C7 #8A67C7 #BA67C7
triadic
#8A67C7 #C78A67 #67C78A
tetradic
#8A67C7 #C76774 #A4C767 #67C7BA
square
#8A67C7 #C76774 #A4C767 #67C7BA
split-complementary
#8A67C7 #C7BA67 #74C767
monochromatic
#4F3083 #6941B0 #8A67C7 #AC94D7 #CFC0E8
Accessibility & contrast
On white
4.33
#8A67C7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#8A67C7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A67C7
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A67C7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A67C7 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4879CA
Deuteranopia (green-blind)
#5078C5
Tritanopia (blue-blind)
#7D798E
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8a67c7; /* rgb */ color: rgb(138, 103, 199); /* oklch */ color: oklch(59.1% 0.145 298.7);
Tailwind
colors: {
custom: {
50: '#af93d8',
500: '#8a67c7',
950: '#000000',
},
}SCSS
$custom: #8a67c7; $custom-light: #af93d8; $custom-dark: #000000;
JSON
{
"hex": "#8a67c7",
"rgb": {
"r": 138,
"g": 103,
"b": 199
},
"hsl": {
"h": 261.875,
"s": 46.154,
"l": 59.216
},
"oklch": {
"l": 0.59128,
"c": 0.14489,
"h": 298.7
},
"luminance": 0.19227
}Semantic roles & 50–950 ramp
primary
#8A67C7
secondary
#CAD8B2
accent
#D652A6
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#110D14
muted
#807E83