#8A41C1#8A41C1
#8A41C1 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 53.0% C 0.194 H 307.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8A41C1 |
|---|---|
| RGB | rgb(138, 65, 193) |
| HSL | hsl(274, 51%, 51%) |
| HSV | hsv(274, 66%, 76%) |
| CMYK | cmyk(28.5%, 66.3%, 0%, 24.3%) |
| CIE-LAB | lab(42.81, 53.46, -54.72) |
| CIE-LCH | lch(42.81, 76.50, 314.33°) |
| OKLab | oklab(53.04% 0.1175 -0.155) |
| OKLCH | oklch(53.04% 0.194 307.2) |
| XYZ | xyz(21.9951, 13.0344, 51.7989) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.22
Purply
#983FB2
ΔE00 4.26
Blueviolet
#8A2BE2
ΔE00 5.34
Royal Purple
#7851A9
ΔE00 6.08
Darkviolet
#9400D3
ΔE00 6.36
Violet (survey)
#9A0EEA
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A41C1 #78C141
analogous
#4A41C1 #8A41C1 #C141B8
triadic
#8A41C1 #C18A41 #41C18A
tetradic
#8A41C1 #C14A41 #78C141 #41B8C1
square
#8A41C1 #C14A41 #78C141 #41B8C1
split-complementary
#8A41C1 #B8C141 #41C14A
monochromatic
#492166 #693094 #8A41C1 #A66FD0 #C39DDF
Accessibility & contrast
On white
5.82
#8A41C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#8A41C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A41C1
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A41C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A41C1 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#2466BE
Tritanopia (blue-blind)
#815C7C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8a41c1; /* rgb */ color: rgb(138, 65, 193); /* oklch */ color: oklch(53.0% 0.194 307.2);
Tailwind
colors: {
custom: {
50: '#b07bd4',
500: '#8a41c1',
950: '#000000',
},
}SCSS
$custom: #8a41c1; $custom-light: #b07bd4; $custom-dark: #000000;
JSON
{
"hex": "#8a41c1",
"rgb": {
"r": 138,
"g": 65,
"b": 193
},
"hsl": {
"h": 274.219,
"s": 50.794,
"l": 50.588
},
"oklch": {
"l": 0.5304,
"c": 0.19445,
"h": 307.2
},
"luminance": 0.13034
}Semantic roles & 50–950 ramp
primary
#8A41C1
secondary
#ABCB92
accent
#DA4E8A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83