#8A41BB#8A41BB
#8A41BB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.6% C 0.188 H 308.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8A41BB |
|---|---|
| RGB | rgb(138, 65, 187) |
| HSL | hsl(276, 48%, 49%) |
| HSV | hsv(276, 65%, 73%) |
| CMYK | cmyk(26.2%, 65.2%, 0%, 26.7%) |
| CIE-LAB | lab(42.42, 52.09, -51.86) |
| CIE-LCH | lch(42.42, 73.50, 315.13°) |
| OKLab | oklab(52.63% 0.1179 -0.1466) |
| OKLCH | oklch(52.63% 0.188 308.8) |
| XYZ | xyz(21.3394, 12.7721, 48.3452) |
| Luminance | 0.1277 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.58
Darkorchid
#9932CC
ΔE00 3.59
Royal Purple
#7851A9
ΔE00 5.69
Blueviolet
#8A2BE2
ΔE00 6.14
Darkviolet
#9400D3
ΔE00 6.66
Barney
#AC1DB8
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A41BB #72BB41
analogous
#4D41BB #8A41BB #BB41AF
triadic
#8A41BB #BB8A41 #41BB8A
tetradic
#8A41BB #BB4D41 #72BB41 #41AFBB
square
#8A41BB #BB4D41 #72BB41 #41AFBB
split-complementary
#8A41BB #AFBB41 #41BB4D
monochromatic
#472160 #68318E #8A41BB #A66DCC #C29ADC
Accessibility & contrast
On white
5.91
#8A41BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#8A41BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A41BB
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A41BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A41BB | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#2C65B8
Tritanopia (blue-blind)
#835A78
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8a41bb; /* rgb */ color: rgb(138, 65, 187); /* oklch */ color: oklch(52.6% 0.188 308.8);
Tailwind
colors: {
custom: {
50: '#b07ad0',
500: '#8a41bb',
950: '#000000',
},
}SCSS
$custom: #8a41bb; $custom-light: #b07ad0; $custom-dark: #000000;
JSON
{
"hex": "#8a41bb",
"rgb": {
"r": 138,
"g": 65,
"b": 187
},
"hsl": {
"h": 275.902,
"s": 48.413,
"l": 49.412
},
"oklch": {
"l": 0.52628,
"c": 0.18811,
"h": 308.8
},
"luminance": 0.12772
}Semantic roles & 50–950 ramp
primary
#8A41BB
secondary
#A6C890
accent
#D85087
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82