#8A5BB1#8A5BB1
#8A5BB1 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.8% C 0.137 H 307.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5BB1 |
|---|---|
| RGB | rgb(138, 91, 177) |
| HSL | hsl(273, 36%, 53%) |
| HSV | hsv(273, 49%, 69%) |
| CMYK | cmyk(22%, 48.6%, 0%, 30.6%) |
| CIE-LAB | lab(47.05, 35.94, -38.61) |
| CIE-LCH | lch(47.05, 52.75, 312.95°) |
| OKLab | oklab(55.84% 0.0837 -0.1079) |
| OKLCH | oklch(55.84% 0.137 307.8) |
| XYZ | xyz(22.1566, 16.0600, 43.5191) |
| Luminance | 0.1606 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.41
Amethyst
#9B5FC0
ΔE00 4.16
Royal Purple
#7851A9
ΔE00 4.78
Deep Lilac
#966EBD
ΔE00 6.47
Purply
#983FB2
ΔE00 7.10
Dark Lavender
#856798
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5BB1 #82B15B
analogous
#5F5BB1 #8A5BB1 #B15BAD
triadic
#8A5BB1 #B18A5B #5BB18A
tetradic
#8A5BB1 #B15F5B #82B15B #5BADB1
square
#8A5BB1 #B15F5B #82B15B #5BADB1
split-complementary
#8A5BB1 #ADB15B #5BB15F
monochromatic
#4B2F63 #6B438C #8A5BB1 #A884C5 #C5AED8
Accessibility & contrast
On white
4.99
#8A5BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#8A5BB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A5BB1
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A5BB1 | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#456EB4
Deuteranopia (green-blind)
#5170AF
Tritanopia (blue-blind)
#84697E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8a5bb1; /* rgb */ color: rgb(138, 91, 177); /* oklch */ color: oklch(55.8% 0.137 307.8);
Tailwind
colors: {
custom: {
50: '#ae8ac9',
500: '#8a5bb1',
950: '#000000',
},
}SCSS
$custom: #8a5bb1; $custom-light: #ae8ac9; $custom-dark: #000000;
JSON
{
"hex": "#8a5bb1",
"rgb": {
"r": 138,
"g": 91,
"b": 177
},
"hsl": {
"h": 272.791,
"s": 35.537,
"l": 52.549
},
"oklch": {
"l": 0.55838,
"c": 0.13656,
"h": 307.8
},
"luminance": 0.1606
}Semantic roles & 50–950 ramp
primary
#8A5BB1
secondary
#B2C7A1
accent
#CC5C8F
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100C13
muted
#7F7D82