#8A4BBD#8A4BBD
#8A4BBD is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.176 H 306.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4BBD |
|---|---|
| RGB | rgb(138, 75, 189) |
| HSL | hsl(273, 46%, 52%) |
| HSV | hsv(273, 60%, 74%) |
| CMYK | cmyk(27%, 60.3%, 0%, 25.9%) |
| CIE-LAB | lab(44.39, 47.53, -49.86) |
| CIE-LCH | lch(44.39, 68.89, 313.63°) |
| OKLab | oklab(54.1% 0.1058 -0.1407) |
| OKLCH | oklch(54.1% 0.176 306.9) |
| XYZ | xyz(22.1807, 14.1098, 49.6892) |
| Luminance | 0.1411 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.35
Royal Purple
#7851A9
ΔE00 4.71
Darkorchid
#9932CC
ΔE00 4.93
Deep Lavender
#8D5EB7
ΔE00 5.48
Amethyst
#9B5FC0
ΔE00 6.76
Purpley
#8756E4
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4BBD #7EBD4B
analogous
#514BBD #8A4BBD #BD4BB7
triadic
#8A4BBD #BD8A4B #4BBD8A
tetradic
#8A4BBD #BD514B #7EBD4B #4BB7BD
square
#8A4BBD #BD514B #7EBD4B #4BB7BD
split-complementary
#8A4BBD #B7BD4B #4BBD51
monochromatic
#4A2668 #6A3694 #8A4BBD #A778CD #C4A5DE
Accessibility & contrast
On white
5.49
#8A4BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#8A4BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4BBD
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4BBD | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1767C1
Deuteranopia (green-blind)
#3769BA
Tritanopia (blue-blind)
#82617D
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8a4bbd; /* rgb */ color: rgb(138, 75, 189); /* oklch */ color: oklch(54.1% 0.176 306.9);
Tailwind
colors: {
custom: {
50: '#b080d1',
500: '#8a4bbd',
950: '#000000',
},
}SCSS
$custom: #8a4bbd; $custom-light: #b080d1; $custom-dark: #000000;
JSON
{
"hex": "#8a4bbd",
"rgb": {
"r": 138,
"g": 75,
"b": 189
},
"hsl": {
"h": 273.158,
"s": 46.341,
"l": 51.765
},
"oklch": {
"l": 0.54097,
"c": 0.17607,
"h": 306.9
},
"luminance": 0.1411
}Semantic roles & 50–950 ramp
primary
#8A4BBD
secondary
#AFCB99
accent
#D6528D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82