#8A5BB0#8A5BB0
#8A5BB0 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.8% C 0.135 H 308.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5BB0 |
|---|---|
| RGB | rgb(138, 91, 176) |
| HSL | hsl(273, 35%, 52%) |
| HSV | hsv(273, 48%, 69%) |
| CMYK | cmyk(21.6%, 48.3%, 0%, 31%) |
| CIE-LAB | lab(47.00, 35.70, -38.11) |
| CIE-LCH | lch(47.00, 52.22, 313.14°) |
| OKLab | oklab(55.78% 0.0835 -0.1065) |
| OKLCH | oklch(55.78% 0.135 308.1) |
| XYZ | xyz(22.0573, 16.0203, 42.9961) |
| Luminance | 0.1602 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.54
Amethyst
#9B5FC0
ΔE00 4.24
Royal Purple
#7851A9
ΔE00 4.80
Deep Lilac
#966EBD
ΔE00 6.50
Purply
#983FB2
ΔE00 7.10
Dark Lavender
#856798
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5BB0 #81B05B
analogous
#5F5BB0 #8A5BB0 #B05BAC
triadic
#8A5BB0 #B08A5B #5BB08A
tetradic
#8A5BB0 #B05F5B #81B05B #5BACB0
square
#8A5BB0 #B05F5B #81B05B #5BACB0
split-complementary
#8A5BB0 #ACB05B #5BB05F
monochromatic
#4B2F62 #6B438B #8A5BB0 #A784C4 #C5AED8
Accessibility & contrast
On white
5.00
#8A5BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#8A5BB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A5BB0
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5BB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A5BB0 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#456EB3
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#85697D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8a5bb0; /* rgb */ color: rgb(138, 91, 176); /* oklch */ color: oklch(55.8% 0.135 308.1);
Tailwind
colors: {
custom: {
50: '#ae8ac8',
500: '#8a5bb0',
950: '#000000',
},
}SCSS
$custom: #8a5bb0; $custom-light: #ae8ac8; $custom-dark: #000000;
JSON
{
"hex": "#8a5bb0",
"rgb": {
"r": 138,
"g": 91,
"b": 176
},
"hsl": {
"h": 273.176,
"s": 34.979,
"l": 52.353
},
"oklch": {
"l": 0.55782,
"c": 0.13532,
"h": 308.1
},
"luminance": 0.1602
}Semantic roles & 50–950 ramp
primary
#8A5BB0
secondary
#B1C6A1
accent
#CB5D8E
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100C13
muted
#7F7D82