#8A41B3#8A41B3
#8A41B3 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.180 H 311.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8A41B3 |
|---|---|
| RGB | rgb(138, 65, 179) |
| HSL | hsl(278, 47%, 48%) |
| HSV | hsv(278, 64%, 70%) |
| CMYK | cmyk(22.9%, 63.7%, 0%, 29.8%) |
| CIE-LAB | lab(41.91, 50.29, -47.98) |
| CIE-LCH | lch(41.91, 69.51, 316.35°) |
| OKLab | oklab(52.09% 0.1184 -0.1352) |
| OKLCH | oklch(52.09% 0.18 311.2) |
| XYZ | xyz(20.5067, 12.4390, 43.9598) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.88
Darkorchid
#9932CC
ΔE00 4.42
Royal Purple
#7851A9
ΔE00 5.41
Medium Purple
#9E43A2
ΔE00 6.25
Barney
#AC1DB8
ΔE00 6.63
Darkviolet
#9400D3
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A41B3 #6AB341
analogous
#5141B3 #8A41B3 #B341A3
triadic
#8A41B3 #B38A41 #41B38A
tetradic
#8A41B3 #B35141 #6AB341 #41A3B3
square
#8A41B3 #B35141 #6AB341 #41A3B3
split-complementary
#8A41B3 #A3B341 #41B351
monochromatic
#452059 #673186 #8A41B3 #A669C8 #C196D9
Accessibility & contrast
On white
6.02
#8A41B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#8A41B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A41B3
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A41B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A41B3 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#075FB7
Deuteranopia (green-blind)
#3564B0
Tritanopia (blue-blind)
#855774
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8a41b3; /* rgb */ color: rgb(138, 65, 179); /* oklch */ color: oklch(52.1% 0.180 311.2);
Tailwind
colors: {
custom: {
50: '#af7aca',
500: '#8a41b3',
950: '#000000',
},
}SCSS
$custom: #8a41b3; $custom-light: #af7aca; $custom-dark: #000000;
JSON
{
"hex": "#8a41b3",
"rgb": {
"r": 138,
"g": 65,
"b": 179
},
"hsl": {
"h": 278.421,
"s": 46.721,
"l": 47.843
},
"oklch": {
"l": 0.52094,
"c": 0.17967,
"h": 311.2
},
"luminance": 0.12439
}Semantic roles & 50–950 ramp
primary
#8A41B3
secondary
#A0C48B
accent
#D65181
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82