#8A67D2#8A67D2
#8A67D2 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 59.8% C 0.159 H 296.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8A67D2 |
|---|---|
| RGB | rgb(138, 103, 210) |
| HSL | hsl(260, 54%, 61%) |
| HSV | hsv(260, 51%, 82%) |
| CMYK | cmyk(34.3%, 51%, 0%, 17.6%) |
| CIE-LAB | lab(51.56, 37.32, -50.48) |
| CIE-LCH | lch(51.56, 62.78, 306.47°) |
| OKLab | oklab(59.78% 0.0707 -0.1426) |
| OKLCH | oklch(59.78% 0.159 296.4) |
| XYZ | xyz(26.9614, 19.7565, 63.3532) |
| Luminance | 0.1976 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.32
Purpley
#8756E4
ΔE00 5.35
Mediumslateblue
#7B68EE
ΔE00 5.47
Deep Lavender
#8D5EB7
ΔE00 5.73
Amethyst
#9B5FC0
ΔE00 5.93
Deep Lilac
#966EBD
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A67D2 #AFD267
analogous
#677AD2 #8A67D2 #C067D2
triadic
#8A67D2 #D28A67 #67D28A
tetradic
#8A67D2 #D2677A #AFD267 #67D2C0
square
#8A67D2 #D2677A #AFD267 #67D2C0
split-complementary
#8A67D2 #D2C067 #7AD267
monochromatic
#4D2C93 #663AC2 #8A67D2 #AE96E0 #D3C5EE
Accessibility & contrast
On white
4.24
#8A67D2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#8A67D2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A67D2
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A67D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A67D2 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F7BD6
Deuteranopia (green-blind)
#477ACF
Tritanopia (blue-blind)
#7A7C93
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8a67d2; /* rgb */ color: rgb(138, 103, 210); /* oklch */ color: oklch(59.8% 0.159 296.4);
Tailwind
colors: {
custom: {
50: '#af93e0',
500: '#8a67d2',
950: '#000000',
},
}SCSS
$custom: #8a67d2; $custom-light: #af93e0; $custom-dark: #000000;
JSON
{
"hex": "#8a67d2",
"rgb": {
"r": 138,
"g": 103,
"b": 210
},
"hsl": {
"h": 259.626,
"s": 54.315,
"l": 61.373
},
"oklch": {
"l": 0.59779,
"c": 0.15916,
"h": 296.4
},
"luminance": 0.19757
}Semantic roles & 50–950 ramp
primary
#8A67D2
secondary
#D1DEB6
accent
#C2248E
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83