#8A6AAA#8A6AAA
#8A6AAA is a mid, moderate violet. Relative luminance 0.186; OKLCH L 58.1% C 0.102 H 306.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6AAA |
|---|---|
| RGB | rgb(138, 106, 170) |
| HSL | hsl(270, 27%, 54%) |
| HSV | hsv(270, 38%, 67%) |
| CMYK | cmyk(18.8%, 37.6%, 0%, 33.3%) |
| CIE-LAB | lab(50.23, 25.59, -29.53) |
| CIE-LCH | lch(50.23, 39.08, 310.91°) |
| OKLab | oklab(58.12% 0.0604 -0.0817) |
| OKLCH | oklch(58.12% 0.102 306.5) |
| XYZ | xyz(22.8895, 18.6138, 40.4094) |
| Luminance | 0.1861 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Lavender
#856798
ΔE00 4.13
Deep Lilac
#966EBD
ΔE00 4.15
Deep Lavender
#8D5EB7
ΔE00 5.19
Dark Lilac
#9C6DA5
ΔE00 5.35
Faded Purple
#916E99
ΔE00 6.01
Amethyst
#9B5FC0
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6AAA #8AAA6A
analogous
#6A6AAA #8A6AAA #AA6AAA
triadic
#8A6AAA #AA8A6A #6AAA8A
tetradic
#8A6AAA #AA6A6A #8AAA6A #6AAAAA
square
#8A6AAA #AA6A6A #8AAA6A #6AAAAA
split-complementary
#8A6AAA #AAAA6A #6AAA6A
monochromatic
#4D3862 #6B4E89 #8A6AAA #A991C0 #C7B8D6
Accessibility & contrast
On white
4.45
#8A6AAA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#8A6AAA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A6AAA
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6AAA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A6AAA | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C76AC
Deuteranopia (green-blind)
#6378A8
Tritanopia (blue-blind)
#857482
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8a6aaa; /* rgb */ color: rgb(138, 106, 170); /* oklch */ color: oklch(58.1% 0.102 306.5);
Tailwind
colors: {
custom: {
50: '#ad95c3',
500: '#8a6aaa',
950: '#000000',
},
}SCSS
$custom: #8a6aaa; $custom-light: #ad95c3; $custom-dark: #000000;
JSON
{
"hex": "#8a6aaa",
"rgb": {
"r": 138,
"g": 106,
"b": 170
},
"hsl": {
"h": 270,
"s": 27.35,
"l": 54.118
},
"oklch": {
"l": 0.58118,
"c": 0.10161,
"h": 306.5
},
"luminance": 0.18614
}Semantic roles & 50–950 ramp
primary
#8A6AAA
secondary
#B8C6AA
accent
#C46494
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D12
muted
#7F7E81