#8D4CAE#8D4CAE
#8D4CAE is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.159 H 312.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4CAE |
|---|---|
| RGB | rgb(141, 76, 174) |
| HSL | hsl(280, 39%, 49%) |
| HSV | hsv(280, 56%, 68%) |
| CMYK | cmyk(19%, 56.3%, 0%, 31.8%) |
| CIE-LAB | lab(44.07, 44.33, -41.55) |
| CIE-LCH | lch(44.07, 60.76, 316.85°) |
| OKLab | oklab(53.66% 0.1081 -0.1163) |
| OKLCH | oklch(53.66% 0.159 312.9) |
| XYZ | xyz(21.2076, 13.8881, 41.5997) |
| Luminance | 0.1389 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.22
Royal Purple
#7851A9
ΔE00 4.61
Medium Purple
#9E43A2
ΔE00 5.01
Deep Lavender
#8D5EB7
ΔE00 5.15
Ugly Purple
#A442A0
ΔE00 6.34
Darkorchid
#9932CC
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4CAE #6DAE4C
analogous
#5C4CAE #8D4CAE #AE4C9E
triadic
#8D4CAE #AE8D4C #4CAE8D
tetradic
#8D4CAE #AE5C4C #6DAE4C #4C9EAE
square
#8D4CAE #AE5C4C #6DAE4C #4C9EAE
split-complementary
#8D4CAE #9EAE4C #4CAE5C
monochromatic
#482759 #6A3983 #8D4CAE #A875C3 #C39FD5
Accessibility & contrast
On white
5.56
#8D4CAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#8D4CAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4CAE
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4CAE | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3065B1
Deuteranopia (green-blind)
#476AAC
Tritanopia (blue-blind)
#8A5D76
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8d4cae; /* rgb */ color: rgb(141, 76, 174); /* oklch */ color: oklch(53.7% 0.159 312.9);
Tailwind
colors: {
custom: {
50: '#b181c6',
500: '#8d4cae',
950: '#000000',
},
}SCSS
$custom: #8d4cae; $custom-light: #b181c6; $custom-dark: #000000;
JSON
{
"hex": "#8d4cae",
"rgb": {
"r": 141,
"g": 76,
"b": 174
},
"hsl": {
"h": 279.796,
"s": 39.2,
"l": 49.02
},
"oklch": {
"l": 0.5366,
"c": 0.1588,
"h": 312.9
},
"luminance": 0.13888
}Semantic roles & 50–950 ramp
primary
#8D4CAE
secondary
#A3C294
accent
#CF5981
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82