#8A41C0#8A41C0
#8A41C0 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 53.0% C 0.193 H 307.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8A41C0 |
|---|---|
| RGB | rgb(138, 65, 192) |
| HSL | hsl(274, 50%, 50%) |
| HSV | hsv(274, 66%, 75%) |
| CMYK | cmyk(28.1%, 66.1%, 0%, 24.7%) |
| CIE-LAB | lab(42.75, 53.23, -54.25) |
| CIE-LCH | lch(42.75, 76.00, 314.46°) |
| OKLab | oklab(52.97% 0.1175 -0.1536) |
| OKLCH | oklch(52.97% 0.193 307.4) |
| XYZ | xyz(21.8840, 12.9899, 51.2134) |
| Luminance | 0.1299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.27
Purply
#983FB2
ΔE00 4.14
Blueviolet
#8A2BE2
ΔE00 5.47
Royal Purple
#7851A9
ΔE00 6.00
Darkviolet
#9400D3
ΔE00 6.40
Violet (survey)
#9A0EEA
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A41C0 #77C041
analogous
#4A41C0 #8A41C0 #C041B7
triadic
#8A41C0 #C08A41 #41C08A
tetradic
#8A41C0 #C04A41 #77C041 #41B7C0
square
#8A41C0 #C04A41 #77C041 #41B7C0
split-complementary
#8A41C0 #B7C041 #41C04A
monochromatic
#482265 #693193 #8A41C0 #A66FCF #C39DDE
Accessibility & contrast
On white
5.84
#8A41C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#8A41C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A41C0
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A41C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A41C0 | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#2566BD
Tritanopia (blue-blind)
#815C7B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8a41c0; /* rgb */ color: rgb(138, 65, 192); /* oklch */ color: oklch(53.0% 0.193 307.4);
Tailwind
colors: {
custom: {
50: '#b07ad4',
500: '#8a41c0',
950: '#000000',
},
}SCSS
$custom: #8a41c0; $custom-light: #b07ad4; $custom-dark: #000000;
JSON
{
"hex": "#8a41c0",
"rgb": {
"r": 138,
"g": 65,
"b": 192
},
"hsl": {
"h": 274.488,
"s": 50.198,
"l": 50.392
},
"oklch": {
"l": 0.5297,
"c": 0.19339,
"h": 307.4
},
"luminance": 0.1299
}Semantic roles & 50–950 ramp
primary
#8A41C0
secondary
#AACB92
accent
#DA4E89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83