#8A41C4#8A41C4
#8A41C4 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.3% C 0.198 H 306.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8A41C4 |
|---|---|
| RGB | rgb(138, 65, 196) |
| HSL | hsl(273, 53%, 51%) |
| HSV | hsv(273, 67%, 77%) |
| CMYK | cmyk(29.6%, 66.8%, 0%, 23.1%) |
| CIE-LAB | lab(43.02, 54.15, -56.14) |
| CIE-LCH | lch(43.02, 78.00, 313.97°) |
| OKLab | oklab(53.25% 0.1172 -0.1591) |
| OKLCH | oklch(53.25% 0.198 306.4) |
| XYZ | xyz(22.3332, 13.1696, 53.5793) |
| Luminance | 0.1317 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.13
Purply
#983FB2
ΔE00 4.63
Blueviolet
#8A2BE2
ΔE00 4.98
Darkviolet
#9400D3
ΔE00 6.26
Royal Purple
#7851A9
ΔE00 6.31
Violet (survey)
#9A0EEA
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A41C4 #7BC441
analogous
#4841C4 #8A41C4 #C441BC
triadic
#8A41C4 #C48A41 #41C48A
tetradic
#8A41C4 #C44841 #7BC441 #41BCC4
square
#8A41C4 #C44841 #7BC441 #41BCC4
split-complementary
#8A41C4 #BCC441 #41C448
monochromatic
#49216A #6A2F98 #8A41C4 #A770D3 #C49EE1
Accessibility & contrast
On white
5.78
#8A41C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#8A41C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A41C4
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A41C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A41C4 | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#1E66C1
Tritanopia (blue-blind)
#805E7D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8a41c4; /* rgb */ color: rgb(138, 65, 196); /* oklch */ color: oklch(53.3% 0.198 306.4);
Tailwind
colors: {
custom: {
50: '#b17bd7',
500: '#8a41c4',
950: '#000000',
},
}SCSS
$custom: #8a41c4; $custom-light: #b17bd7; $custom-dark: #000000;
JSON
{
"hex": "#8a41c4",
"rgb": {
"r": 138,
"g": 65,
"b": 196
},
"hsl": {
"h": 273.435,
"s": 52.61,
"l": 51.176
},
"oklch": {
"l": 0.5325,
"c": 0.19762,
"h": 306.4
},
"luminance": 0.13169
}Semantic roles & 50–950 ramp
primary
#8A41C4
secondary
#ADCD93
accent
#DC4C8C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83