#8A4BB5#8A4BB5
#8A4BB5 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.167 H 309.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4BB5 |
|---|---|
| RGB | rgb(138, 75, 181) |
| HSL | hsl(276, 42%, 50%) |
| HSV | hsv(276, 59%, 71%) |
| CMYK | cmyk(23.8%, 58.6%, 0%, 29%) |
| CIE-LAB | lab(43.90, 45.67, -45.96) |
| CIE-LCH | lch(43.90, 64.79, 314.82°) |
| OKLab | oklab(53.59% 0.1058 -0.1293) |
| OKLCH | oklch(53.59% 0.167 309.3) |
| XYZ | xyz(21.3362, 13.7720, 45.2414) |
| Luminance | 0.1377 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.66
Royal Purple
#7851A9
ΔE00 4.18
Deep Lavender
#8D5EB7
ΔE00 5.31
Darkorchid
#9932CC
ΔE00 5.51
Medium Purple
#9E43A2
ΔE00 6.40
Amethyst
#9B5FC0
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4BB5 #76B54B
analogous
#554BB5 #8A4BB5 #B54BAB
triadic
#8A4BB5 #B58A4B #4BB58A
tetradic
#8A4BB5 #B5554B #76B54B #4BABB5
square
#8A4BB5 #B5554B #76B54B #4BABB5
split-complementary
#8A4BB5 #ABB54B #4BB555
monochromatic
#48275F #69398A #8A4BB5 #A676C7 #C2A2D9
Accessibility & contrast
On white
5.59
#8A4BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#8A4BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4BB5
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4BB5 | 1.00 | 5.59 | 3.75 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2565B8
Deuteranopia (green-blind)
#3E69B2
Tritanopia (blue-blind)
#845F79
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8a4bb5; /* rgb */ color: rgb(138, 75, 181); /* oklch */ color: oklch(53.6% 0.167 309.3);
Tailwind
colors: {
custom: {
50: '#af80cc',
500: '#8a4bb5',
950: '#000000',
},
}SCSS
$custom: #8a4bb5; $custom-light: #af80cc; $custom-dark: #000000;
JSON
{
"hex": "#8a4bb5",
"rgb": {
"r": 138,
"g": 75,
"b": 181
},
"hsl": {
"h": 275.66,
"s": 41.732,
"l": 50.196
},
"oklch": {
"l": 0.53586,
"c": 0.16707,
"h": 309.3
},
"luminance": 0.13772
}Semantic roles & 50–950 ramp
primary
#8A4BB5
secondary
#A9C696
accent
#D25688
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A13
muted
#807C82