#8A4BB7#8A4BB7
#8A4BB7 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.169 H 308.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4BB7 |
|---|---|
| RGB | rgb(138, 75, 183) |
| HSL | hsl(275, 43%, 51%) |
| HSV | hsv(275, 59%, 72%) |
| CMYK | cmyk(24.6%, 59%, 0%, 28.2%) |
| CIE-LAB | lab(44.02, 46.13, -46.94) |
| CIE-LCH | lch(44.02, 65.81, 314.50°) |
| OKLab | oklab(53.71% 0.1058 -0.1322) |
| OKLCH | oklch(53.71% 0.169 308.7) |
| XYZ | xyz(21.5429, 13.8547, 46.3299) |
| Luminance | 0.1385 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.80
Royal Purple
#7851A9
ΔE00 4.28
Deep Lavender
#8D5EB7
ΔE00 5.32
Darkorchid
#9932CC
ΔE00 5.34
Medium Purple
#9E43A2
ΔE00 6.67
Amethyst
#9B5FC0
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4BB7 #78B74B
analogous
#544BB7 #8A4BB7 #B74BAE
triadic
#8A4BB7 #B78A4B #4BB78A
tetradic
#8A4BB7 #B7544B #78B74B #4BAEB7
square
#8A4BB7 #B7544B #78B74B #4BAEB7
split-complementary
#8A4BB7 #AEB74B #4BB754
monochromatic
#492761 #69388D #8A4BB7 #A677C8 #C3A2DA
Accessibility & contrast
On white
5.57
#8A4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#8A4BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4BB7
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4BB7 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2265BA
Deuteranopia (green-blind)
#3D69B4
Tritanopia (blue-blind)
#845F7A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8a4bb7; /* rgb */ color: rgb(138, 75, 183); /* oklch */ color: oklch(53.7% 0.169 308.7);
Tailwind
colors: {
custom: {
50: '#af80cd',
500: '#8a4bb7',
950: '#000000',
},
}SCSS
$custom: #8a4bb7; $custom-light: #af80cd; $custom-dark: #000000;
JSON
{
"hex": "#8a4bb7",
"rgb": {
"r": 138,
"g": 75,
"b": 183
},
"hsl": {
"h": 275,
"s": 42.857,
"l": 50.588
},
"oklch": {
"l": 0.53712,
"c": 0.16932,
"h": 308.7
},
"luminance": 0.13854
}Semantic roles & 50–950 ramp
primary
#8A4BB7
secondary
#ABC797
accent
#D35589
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A13
muted
#807C82