#8A41B4#8A41B4
#8A41B4 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.181 H 310.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8A41B4 |
|---|---|
| RGB | rgb(138, 65, 180) |
| HSL | hsl(278, 47%, 48%) |
| HSV | hsv(278, 64%, 71%) |
| CMYK | cmyk(23.3%, 63.9%, 0%, 29.4%) |
| CIE-LAB | lab(41.97, 50.52, -48.47) |
| CIE-LCH | lch(41.97, 70.01, 316.18°) |
| OKLab | oklab(52.16% 0.1183 -0.1366) |
| OKLCH | oklch(52.16% 0.181 310.9) |
| XYZ | xyz(20.6082, 12.4796, 44.4944) |
| Luminance | 0.1248 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.94
Darkorchid
#9932CC
ΔE00 4.30
Royal Purple
#7851A9
ΔE00 5.43
Medium Purple
#9E43A2
ΔE00 6.37
Barney
#AC1DB8
ΔE00 6.66
Blueviolet
#8A2BE2
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A41B4 #6BB441
analogous
#5041B4 #8A41B4 #B441A4
triadic
#8A41B4 #B48A41 #41B48A
tetradic
#8A41B4 #B45041 #6BB441 #41A4B4
square
#8A41B4 #B45041 #6BB441 #41A4B4
split-complementary
#8A41B4 #A4B441 #41B450
monochromatic
#45215A #683187 #8A41B4 #A669C9 #C196D9
Accessibility & contrast
On white
6.01
#8A41B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#8A41B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A41B4
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A41B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A41B4 | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0360B8
Deuteranopia (green-blind)
#3464B1
Tritanopia (blue-blind)
#855875
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8a41b4; /* rgb */ color: rgb(138, 65, 180); /* oklch */ color: oklch(52.2% 0.181 310.9);
Tailwind
colors: {
custom: {
50: '#b07acb',
500: '#8a41b4',
950: '#000000',
},
}SCSS
$custom: #8a41b4; $custom-light: #b07acb; $custom-dark: #000000;
JSON
{
"hex": "#8a41b4",
"rgb": {
"r": 138,
"g": 65,
"b": 180
},
"hsl": {
"h": 278.087,
"s": 46.939,
"l": 48.039
},
"oklch": {
"l": 0.5216,
"c": 0.18073,
"h": 310.9
},
"luminance": 0.12479
}Semantic roles & 50–950 ramp
primary
#8A41B4
secondary
#A1C58C
accent
#D75182
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82