#8A5BB3#8A5BB3
#8A5BB3 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.0% C 0.139 H 307.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5BB3 |
|---|---|
| RGB | rgb(138, 91, 179) |
| HSL | hsl(272, 37%, 53%) |
| HSV | hsv(272, 49%, 70%) |
| CMYK | cmyk(22.9%, 49.2%, 0%, 29.8%) |
| CIE-LAB | lab(47.16, 36.42, -39.61) |
| CIE-LCH | lch(47.16, 53.81, 312.59°) |
| OKLab | oklab(55.95% 0.0839 -0.1108) |
| OKLCH | oklch(55.95% 0.139 307.1) |
| XYZ | xyz(22.3574, 16.1403, 44.5767) |
| Luminance | 0.1614 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.21
Amethyst
#9B5FC0
ΔE00 4.03
Royal Purple
#7851A9
ΔE00 4.78
Deep Lilac
#966EBD
ΔE00 6.44
Purply
#983FB2
ΔE00 7.10
Dark Lavender
#856798
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5BB3 #84B35B
analogous
#5E5BB3 #8A5BB3 #B35BB0
triadic
#8A5BB3 #B38A5B #5BB38A
tetradic
#8A5BB3 #B35E5B #84B35B #5BB0B3
square
#8A5BB3 #B35E5B #84B35B #5BB0B3
split-complementary
#8A5BB3 #B0B35B #5BB35E
monochromatic
#4C2F65 #6B428F #8A5BB3 #A885C6 #C6AFDA
Accessibility & contrast
On white
4.97
#8A5BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#8A5BB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A5BB3
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5BB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A5BB3 | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#436EB6
Deuteranopia (green-blind)
#5070B1
Tritanopia (blue-blind)
#846A7F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8a5bb3; /* rgb */ color: rgb(138, 91, 179); /* oklch */ color: oklch(56.0% 0.139 307.1);
Tailwind
colors: {
custom: {
50: '#ae8bca',
500: '#8a5bb3',
950: '#000000',
},
}SCSS
$custom: #8a5bb3; $custom-light: #ae8bca; $custom-dark: #000000;
JSON
{
"hex": "#8a5bb3",
"rgb": {
"r": 138,
"g": 91,
"b": 179
},
"hsl": {
"h": 272.045,
"s": 36.667,
"l": 52.941
},
"oklch": {
"l": 0.5595,
"c": 0.13903,
"h": 307.1
},
"luminance": 0.1614
}Semantic roles & 50–950 ramp
primary
#8A5BB3
secondary
#B4C8A2
accent
#CD5B90
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100C13
muted
#7F7D82