#8A77BD#8A77BD
#8A77BD is a mid, moderate violet. Relative luminance 0.223; OKLCH L 61.5% C 0.105 H 295.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8A77BD |
|---|---|
| RGB | rgb(138, 119, 189) |
| HSL | hsl(256, 35%, 60%) |
| HSV | hsv(256, 37%, 74%) |
| CMYK | cmyk(27%, 37%, 0%, 25.9%) |
| CIE-LAB | lab(54.31, 22.58, -34.14) |
| CIE-LCH | lch(54.31, 40.94, 303.48°) |
| OKLab | oklab(61.5% 0.0456 -0.0951) |
| OKLCH | oklch(61.5% 0.105 295.6) |
| XYZ | xyz(26.2612, 22.2707, 51.0494) |
| Luminance | 0.2227 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.55
Mediumpurple
#9370DB
ΔE00 6.23
Wisteria
#A87DC2
ΔE00 7.11
Soft Purple
#A66FB5
ΔE00 8.27
Deep Lavender
#8D5EB7
ΔE00 8.39
Amethyst
#9B5FC0
ΔE00 8.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A77BD #AABD77
analogous
#7787BD #8A77BD #AD77BD
triadic
#8A77BD #BD8A77 #77BD8A
tetradic
#8A77BD #BD7787 #AABD77 #77BDAD
square
#8A77BD #BD7787 #AABD77 #77BDAD
split-complementary
#8A77BD #BDAD77 #87BD77
monochromatic
#4E3D7D #6851A6 #8A77BD #ADA0D1 #D1C9E5
Accessibility & contrast
On white
3.85
#8A77BD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#8A77BD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A77BD
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A77BD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A77BD | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6482C0
Deuteranopia (green-blind)
#6781BB
Tritanopia (blue-blind)
#7F8391
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8a77bd; /* rgb */ color: rgb(138, 119, 189); /* oklch */ color: oklch(61.5% 0.105 295.6);
Tailwind
colors: {
custom: {
50: '#ad9ed1',
500: '#8a77bd',
950: '#000000',
},
}SCSS
$custom: #8a77bd; $custom-light: #ad9ed1; $custom-dark: #000000;
JSON
{
"hex": "#8a77bd",
"rgb": {
"r": 138,
"g": 119,
"b": 189
},
"hsl": {
"h": 256.286,
"s": 34.653,
"l": 60.392
},
"oklch": {
"l": 0.61504,
"c": 0.10543,
"h": 295.6
},
"luminance": 0.22271
}Semantic roles & 50–950 ramp
primary
#8A77BD
secondary
#CED5BB
accent
#AD388E
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82