#8A7BB3#8A7BB3
#8A7BB3 is a mid, moderate violet. Relative luminance 0.228; OKLCH L 61.8% C 0.085 H 296.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7BB3 |
|---|---|
| RGB | rgb(138, 123, 179) |
| HSL | hsl(256, 27%, 59%) |
| HSV | hsv(256, 31%, 70%) |
| CMYK | cmyk(22.9%, 31.3%, 0%, 29.8%) |
| CIE-LAB | lab(54.89, 17.76, -27.51) |
| CIE-LCH | lch(54.89, 32.74, 302.84°) |
| OKLab | oklab(61.8% 0.0373 -0.076) |
| OKLCH | oklch(61.8% 0.085 296.1) |
| XYZ | xyz(25.6990, 22.8236, 45.6906) |
| Luminance | 0.2282 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 6.32
Wisteria
#A87DC2
ΔE00 7.15
Faded Purple
#916E99
ΔE00 8.18
Dark Lavender
#856798
ΔE00 8.31
Dark Lilac
#9C6DA5
ΔE00 8.34
Heather
#A484AC
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7BB3 #A4B37B
analogous
#7B88B3 #8A7BB3 #A67BB3
triadic
#8A7BB3 #B38A7B #7BB38A
tetradic
#8A7BB3 #B37B88 #A4B37B #7BB3A6
square
#8A7BB3 #B37B88 #A4B37B #7BB3A6
split-complementary
#8A7BB3 #B3A67B #88B37B
monochromatic
#4F4272 #695899 #8A7BB3 #ACA2C9 #CFC9E0
Accessibility & contrast
On white
3.77
#8A7BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#8A7BB3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7BB3
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7BB3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7BB3 | 1.00 | 3.77 | 5.56 | 5.56 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E84B5
Deuteranopia (green-blind)
#7083B1
Tritanopia (blue-blind)
#82848F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8a7bb3; /* rgb */ color: rgb(138, 123, 179); /* oklch */ color: oklch(61.8% 0.085 296.1);
Tailwind
colors: {
custom: {
50: '#ada1ca',
500: '#8a7bb3',
950: '#000000',
},
}SCSS
$custom: #8a7bb3; $custom-light: #ada1ca; $custom-dark: #000000;
JSON
{
"hex": "#8a7bb3",
"rgb": {
"r": 138,
"g": 123,
"b": 179
},
"hsl": {
"h": 256.071,
"s": 26.923,
"l": 59.216
},
"oklch": {
"l": 0.61801,
"c": 0.08467,
"h": 296.1
},
"luminance": 0.22824
}Semantic roles & 50–950 ramp
primary
#8A7BB3
secondary
#CAD0BA
accent
#C365AA
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82