#8D41C5#8D41C5
#8D41C5 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.7% C 0.199 H 307.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8D41C5 |
|---|---|
| RGB | rgb(141, 65, 197) |
| HSL | hsl(275, 53%, 51%) |
| HSV | hsv(275, 67%, 77%) |
| CMYK | cmyk(28.4%, 67%, 0%, 22.7%) |
| CIE-LAB | lab(43.47, 55.02, -55.97) |
| CIE-LCH | lch(43.47, 78.49, 314.51°) |
| OKLab | oklab(53.68% 0.121 -0.1585) |
| OKLCH | oklch(53.68% 0.199 307.4) |
| XYZ | xyz(22.9507, 13.4748, 54.2043) |
| Luminance | 0.1348 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.78
Purply
#983FB2
ΔE00 4.33
Blueviolet
#8A2BE2
ΔE00 5.06
Darkviolet
#9400D3
ΔE00 6.29
Violet (survey)
#9A0EEA
ΔE00 6.29
Vibrant Purple
#AD03DE
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D41C5 #79C541
analogous
#4B41C5 #8D41C5 #C541BB
triadic
#8D41C5 #C58D41 #41C58D
tetradic
#8D41C5 #C54B41 #79C541 #41BBC5
square
#8D41C5 #C54B41 #79C541 #41BBC5
split-complementary
#8D41C5 #BBC541 #41C54B
monochromatic
#4B216B #6C2F9A #8D41C5 #A970D3 #C59FE2
Accessibility & contrast
On white
5.68
#8D41C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#8D41C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D41C5
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D41C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D41C5 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#2267C2
Tritanopia (blue-blind)
#845E7E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8d41c5; /* rgb */ color: rgb(141, 65, 197); /* oklch */ color: oklch(53.7% 0.199 307.4);
Tailwind
colors: {
custom: {
50: '#b37bd7',
500: '#8d41c5',
950: '#000000',
},
}SCSS
$custom: #8d41c5; $custom-light: #b37bd7; $custom-dark: #000000;
JSON
{
"hex": "#8d41c5",
"rgb": {
"r": 141,
"g": 65,
"b": 197
},
"hsl": {
"h": 274.545,
"s": 53.226,
"l": 51.373
},
"oklch": {
"l": 0.53679,
"c": 0.19946,
"h": 307.4
},
"luminance": 0.13475
}Semantic roles & 50–950 ramp
primary
#8D41C5
secondary
#ACCE94
accent
#DD4B89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83