#8A41BF#8A41BF
#8A41BF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.9% C 0.192 H 307.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8A41BF |
|---|---|
| RGB | rgb(138, 65, 191) |
| HSL | hsl(275, 50%, 50%) |
| HSV | hsv(275, 66%, 75%) |
| CMYK | cmyk(27.7%, 66%, 0%, 25.1%) |
| CIE-LAB | lab(42.68, 53.00, -53.77) |
| CIE-LCH | lch(42.68, 75.50, 314.59°) |
| OKLab | oklab(52.9% 0.1176 -0.1522) |
| OKLCH | oklch(52.9% 0.192 307.7) |
| XYZ | xyz(21.7736, 12.9458, 50.6319) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.32
Purply
#983FB2
ΔE00 4.03
Blueviolet
#8A2BE2
ΔE00 5.60
Royal Purple
#7851A9
ΔE00 5.93
Darkviolet
#9400D3
ΔE00 6.44
Violet (survey)
#9A0EEA
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A41BF #76BF41
analogous
#4B41BF #8A41BF #BF41B5
triadic
#8A41BF #BF8A41 #41BF8A
tetradic
#8A41BF #BF4B41 #76BF41 #41B5BF
square
#8A41BF #BF4B41 #76BF41 #41B5BF
split-complementary
#8A41BF #B5BF41 #41BF4B
monochromatic
#482264 #693192 #8A41BF #A66FCE #C29DDE
Accessibility & contrast
On white
5.85
#8A41BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#8A41BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A41BF
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A41BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A41BF | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#2765BC
Tritanopia (blue-blind)
#825C7A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8a41bf; /* rgb */ color: rgb(138, 65, 191); /* oklch */ color: oklch(52.9% 0.192 307.7);
Tailwind
colors: {
custom: {
50: '#b07ad3',
500: '#8a41bf',
950: '#000000',
},
}SCSS
$custom: #8a41bf; $custom-light: #b07ad3; $custom-dark: #000000;
JSON
{
"hex": "#8a41bf",
"rgb": {
"r": 138,
"g": 65,
"b": 191
},
"hsl": {
"h": 274.762,
"s": 49.606,
"l": 50.196
},
"oklch": {
"l": 0.52901,
"c": 0.19233,
"h": 307.7
},
"luminance": 0.12945
}Semantic roles & 50–950 ramp
primary
#8A41BF
secondary
#A9CA92
accent
#D94F89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83