#8A76A2#8A76A2
#8A76A2 is a mid, moderate violet. Relative luminance 0.210; OKLCH L 60.1% C 0.069 H 305.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8A76A2 |
|---|---|
| RGB | rgb(138, 118, 162) |
| HSL | hsl(267, 19%, 55%) |
| HSV | hsv(267, 27%, 64%) |
| CMYK | cmyk(14.8%, 27.2%, 0%, 36.5%) |
| CIE-LAB | lab(52.92, 16.68, -20.73) |
| CIE-LCH | lch(52.92, 26.61, 308.83°) |
| OKLab | oklab(60.06% 0.0399 -0.0567) |
| OKLCH | oklch(60.06% 0.069 305.1) |
| XYZ | xyz(23.4800, 20.9689, 36.9858) |
| Luminance | 0.2097 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Greyish Purple
#887191
ΔE00 4.46
Faded Purple
#916E99
ΔE00 4.54
Dark Lavender
#856798
ΔE00 5.46
Grey Purple
#826D8C
ΔE00 5.58
Dark Lilac
#9C6DA5
ΔE00 6.29
Heather
#A484AC
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A76A2 #8EA276
analogous
#7678A2 #8A76A2 #A076A2
triadic
#8A76A2 #A28A76 #76A28A
tetradic
#8A76A2 #A27678 #8EA276 #76A2A0
square
#8A76A2 #A27678 #8EA276 #76A2A0
split-complementary
#8A76A2 #A2A076 #78A276
monochromatic
#4D405E #6B5882 #8A76A2 #A99ABB #C8BFD3
Accessibility & contrast
On white
4.04
#8A76A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#8A76A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A76A2
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A76A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A76A2 | 1.00 | 4.04 | 5.19 | 5.19 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E7EA4
Deuteranopia (green-blind)
#727EA1
Tritanopia (blue-blind)
#877C85
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8a76a2; /* rgb */ color: rgb(138, 118, 162); /* oklch */ color: oklch(60.1% 0.069 305.1);
Tailwind
colors: {
custom: {
50: '#ac9dbd',
500: '#8a76a2',
950: '#000000',
},
}SCSS
$custom: #8a76a2; $custom-light: #ac9dbd; $custom-dark: #000000;
JSON
{
"hex": "#8a76a2",
"rgb": {
"r": 138,
"g": 118,
"b": 162
},
"hsl": {
"h": 267.273,
"s": 19.13,
"l": 54.902
},
"oklch": {
"l": 0.60057,
"c": 0.06936,
"h": 305.1
},
"luminance": 0.20969
}Semantic roles & 50–950 ramp
primary
#8A76A2
secondary
#BBC3B1
accent
#BC6C98
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E12
muted
#7F7E81