#8A4BB9#8A4BB9
#8A4BB9 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.8% C 0.172 H 308.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4BB9 |
|---|---|
| RGB | rgb(138, 75, 185) |
| HSL | hsl(274, 44%, 51%) |
| HSV | hsv(274, 59%, 73%) |
| CMYK | cmyk(25.4%, 59.5%, 0%, 27.5%) |
| CIE-LAB | lab(44.14, 46.60, -47.92) |
| CIE-LCH | lch(44.14, 66.84, 314.20°) |
| OKLab | oklab(53.84% 0.1058 -0.135) |
| OKLCH | oklch(53.84% 0.172 308.1) |
| XYZ | xyz(21.7525, 13.9385, 47.4340) |
| Luminance | 0.1394 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.96
Royal Purple
#7851A9
ΔE00 4.40
Darkorchid
#9932CC
ΔE00 5.18
Deep Lavender
#8D5EB7
ΔE00 5.36
Amethyst
#9B5FC0
ΔE00 6.74
Medium Purple
#9E43A2
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4BB9 #7AB94B
analogous
#534BB9 #8A4BB9 #B94BB1
triadic
#8A4BB9 #B98A4B #4BB98A
tetradic
#8A4BB9 #B9534B #7AB94B #4BB1B9
square
#8A4BB9 #B9534B #7AB94B #4BB1B9
split-complementary
#8A4BB9 #B1B94B #4BB953
monochromatic
#492763 #6A388F #8A4BB9 #A777CA #C3A3DB
Accessibility & contrast
On white
5.54
#8A4BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#8A4BB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4BB9
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4BB9 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F66BD
Deuteranopia (green-blind)
#3B69B6
Tritanopia (blue-blind)
#83607B
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8a4bb9; /* rgb */ color: rgb(138, 75, 185); /* oklch */ color: oklch(53.8% 0.172 308.1);
Tailwind
colors: {
custom: {
50: '#af80cf',
500: '#8a4bb9',
950: '#000000',
},
}SCSS
$custom: #8a4bb9; $custom-light: #af80cf; $custom-dark: #000000;
JSON
{
"hex": "#8a4bb9",
"rgb": {
"r": 138,
"g": 75,
"b": 185
},
"hsl": {
"h": 274.364,
"s": 44,
"l": 50.98
},
"oklch": {
"l": 0.53839,
"c": 0.17157,
"h": 308.1
},
"luminance": 0.13938
}Semantic roles & 50–950 ramp
primary
#8A4BB9
secondary
#ACC898
accent
#D4548B
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82