#8A41B5#8A41B5
#8A41B5 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.182 H 310.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8A41B5 |
|---|---|
| RGB | rgb(138, 65, 181) |
| HSL | hsl(278, 47%, 48%) |
| HSV | hsv(278, 64%, 71%) |
| CMYK | cmyk(23.8%, 64.1%, 0%, 29%) |
| CIE-LAB | lab(42.03, 50.74, -48.96) |
| CIE-LCH | lch(42.03, 70.51, 316.02°) |
| OKLab | oklab(52.23% 0.1183 -0.138) |
| OKLCH | oklch(52.23% 0.182 310.6) |
| XYZ | xyz(20.7104, 12.5205, 45.0328) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.02
Darkorchid
#9932CC
ΔE00 4.18
Royal Purple
#7851A9
ΔE00 5.45
Medium Purple
#9E43A2
ΔE00 6.49
Barney
#AC1DB8
ΔE00 6.69
Blueviolet
#8A2BE2
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A41B5 #6CB541
analogous
#5041B5 #8A41B5 #B541A6
triadic
#8A41B5 #B58A41 #41B58A
tetradic
#8A41B5 #B55041 #6CB541 #41A6B5
square
#8A41B5 #B55041 #6CB541 #41A6B5
split-complementary
#8A41B5 #A6B541 #41B550
monochromatic
#45215B #683188 #8A41B5 #A66AC9 #C197DA
Accessibility & contrast
On white
5.99
#8A41B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#8A41B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A41B5
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A41B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A41B5 | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#3364B2
Tritanopia (blue-blind)
#845875
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8a41b5; /* rgb */ color: rgb(138, 65, 181); /* oklch */ color: oklch(52.2% 0.182 310.6);
Tailwind
colors: {
custom: {
50: '#b07acc',
500: '#8a41b5',
950: '#000000',
},
}SCSS
$custom: #8a41b5; $custom-light: #b07acc; $custom-dark: #000000;
JSON
{
"hex": "#8a41b5",
"rgb": {
"r": 138,
"g": 65,
"b": 181
},
"hsl": {
"h": 277.759,
"s": 47.154,
"l": 48.235
},
"oklch": {
"l": 0.52226,
"c": 0.18178,
"h": 310.6
},
"luminance": 0.1252
}Semantic roles & 50–950 ramp
primary
#8A41B5
secondary
#A2C58C
accent
#D75183
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82