#8A5BB5#8A5BB5
#8A5BB5 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.1% C 0.141 H 306.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5BB5 |
|---|---|
| RGB | rgb(138, 91, 181) |
| HSL | hsl(271, 38%, 53%) |
| HSV | hsv(271, 50%, 71%) |
| CMYK | cmyk(23.8%, 49.7%, 0%, 29%) |
| CIE-LAB | lab(47.26, 36.89, -40.61) |
| CIE-LCH | lch(47.26, 54.87, 312.25°) |
| OKLab | oklab(56.06% 0.0842 -0.1137) |
| OKLCH | oklch(56.06% 0.141 306.5) |
| XYZ | xyz(22.5611, 16.2218, 45.6497) |
| Luminance | 0.1622 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.11
Amethyst
#9B5FC0
ΔE00 3.93
Royal Purple
#7851A9
ΔE00 4.82
Deep Lilac
#966EBD
ΔE00 6.42
Purply
#983FB2
ΔE00 7.14
Purpley
#8756E4
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5BB5 #86B55B
analogous
#5D5BB5 #8A5BB5 #B55BB3
triadic
#8A5BB5 #B58A5B #5BB58A
tetradic
#8A5BB5 #B55D5B #86B55B #5BB3B5
square
#8A5BB5 #B55D5B #86B55B #5BB3B5
split-complementary
#8A5BB5 #B3B55B #5BB55D
monochromatic
#4C2F67 #6B4291 #8A5BB5 #A885C8 #C6AFDB
Accessibility & contrast
On white
4.95
#8A5BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#8A5BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A5BB5
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A5BB5 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#426EB8
Deuteranopia (green-blind)
#4F70B3
Tritanopia (blue-blind)
#836B7F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8a5bb5; /* rgb */ color: rgb(138, 91, 181); /* oklch */ color: oklch(56.1% 0.141 306.5);
Tailwind
colors: {
custom: {
50: '#ae8bcb',
500: '#8a5bb5',
950: '#000000',
},
}SCSS
$custom: #8a5bb5; $custom-light: #ae8bcb; $custom-dark: #000000;
JSON
{
"hex": "#8a5bb5",
"rgb": {
"r": 138,
"g": 91,
"b": 181
},
"hsl": {
"h": 271.333,
"s": 37.815,
"l": 53.333
},
"oklch": {
"l": 0.56064,
"c": 0.14149,
"h": 306.5
},
"luminance": 0.16222
}Semantic roles & 50–950 ramp
primary
#8A5BB5
secondary
#B5C9A3
accent
#CE5A91
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100C13
muted
#7F7D82