#8A41C2#8A41C2
#8A41C2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.1% C 0.196 H 306.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8A41C2 |
|---|---|
| RGB | rgb(138, 65, 194) |
| HSL | hsl(274, 51%, 51%) |
| HSV | hsv(274, 66%, 76%) |
| CMYK | cmyk(28.9%, 66.5%, 0%, 23.9%) |
| CIE-LAB | lab(42.88, 53.69, -55.20) |
| CIE-LCH | lch(42.88, 77.00, 314.21°) |
| OKLab | oklab(53.11% 0.1174 -0.1564) |
| OKLCH | oklch(53.11% 0.196 306.9) |
| XYZ | xyz(22.1071, 13.0792, 52.3884) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.18
Purply
#983FB2
ΔE00 4.38
Blueviolet
#8A2BE2
ΔE00 5.22
Royal Purple
#7851A9
ΔE00 6.15
Darkviolet
#9400D3
ΔE00 6.32
Violet (survey)
#9A0EEA
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A41C2 #79C241
analogous
#4941C2 #8A41C2 #C241BA
triadic
#8A41C2 #C28A41 #41C28A
tetradic
#8A41C2 #C24941 #79C241 #41BAC2
square
#8A41C2 #C24941 #79C241 #41BAC2
split-complementary
#8A41C2 #BAC241 #41C249
monochromatic
#492167 #6A3096 #8A41C2 #A76FD1 #C39EE0
Accessibility & contrast
On white
5.81
#8A41C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#8A41C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A41C2
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A41C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A41C2 | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#2266BF
Tritanopia (blue-blind)
#815D7C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8a41c2; /* rgb */ color: rgb(138, 65, 194); /* oklch */ color: oklch(53.1% 0.196 306.9);
Tailwind
colors: {
custom: {
50: '#b07bd5',
500: '#8a41c2',
950: '#000000',
},
}SCSS
$custom: #8a41c2; $custom-light: #b07bd5; $custom-dark: #000000;
JSON
{
"hex": "#8a41c2",
"rgb": {
"r": 138,
"g": 65,
"b": 194
},
"hsl": {
"h": 273.953,
"s": 51.394,
"l": 50.784
},
"oklch": {
"l": 0.5311,
"c": 0.1955,
"h": 306.9
},
"luminance": 0.13079
}Semantic roles & 50–950 ramp
primary
#8A41C2
secondary
#ACCC93
accent
#DB4D8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83