#8A41B1#8A41B1
#8A41B1 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.0% C 0.178 H 311.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8A41B1 |
|---|---|
| RGB | rgb(138, 65, 177) |
| HSL | hsl(279, 46%, 47%) |
| HSV | hsv(279, 63%, 69%) |
| CMYK | cmyk(22%, 63.3%, 0%, 30.6%) |
| CIE-LAB | lab(41.78, 49.85, -47.00) |
| CIE-LCH | lch(41.78, 68.51, 316.68°) |
| OKLab | oklab(51.96% 0.1184 -0.1323) |
| OKLCH | oklch(51.96% 0.178 311.8) |
| XYZ | xyz(20.3059, 12.3587, 42.9022) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.77
Darkorchid
#9932CC
ΔE00 4.66
Royal Purple
#7851A9
ΔE00 5.39
Medium Purple
#9E43A2
ΔE00 6.00
Barney
#AC1DB8
ΔE00 6.59
Ugly Purple
#A442A0
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A41B1 #68B141
analogous
#5241B1 #8A41B1 #B141A0
triadic
#8A41B1 #B18A41 #41B18A
tetradic
#8A41B1 #B15241 #68B141 #41A0B1
square
#8A41B1 #B15241 #68B141 #41A0B1
split-complementary
#8A41B1 #A0B141 #41B152
monochromatic
#442057 #673184 #8A41B1 #A668C7 #C095D8
Accessibility & contrast
On white
6.05
#8A41B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#8A41B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A41B1
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A41B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A41B1 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E5FB4
Deuteranopia (green-blind)
#3764AE
Tritanopia (blue-blind)
#855673
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8a41b1; /* rgb */ color: rgb(138, 65, 177); /* oklch */ color: oklch(52.0% 0.178 311.8);
Tailwind
colors: {
custom: {
50: '#af7ac9',
500: '#8a41b1',
950: '#000000',
},
}SCSS
$custom: #8a41b1; $custom-light: #af7ac9; $custom-dark: #000000;
JSON
{
"hex": "#8a41b1",
"rgb": {
"r": 138,
"g": 65,
"b": 177
},
"hsl": {
"h": 279.107,
"s": 46.281,
"l": 47.451
},
"oklch": {
"l": 0.51964,
"c": 0.17756,
"h": 311.8
},
"luminance": 0.12358
}Semantic roles & 50–950 ramp
primary
#8A41B1
secondary
#9EC38A
accent
#D65280
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82