#8D4EB5#8D4EB5
#8D4EB5 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.163 H 310.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4EB5 |
|---|---|
| RGB | rgb(141, 78, 181) |
| HSL | hsl(277, 41%, 51%) |
| HSV | hsv(277, 57%, 71%) |
| CMYK | cmyk(22.1%, 56.9%, 0%, 29%) |
| CIE-LAB | lab(44.87, 44.85, -44.40) |
| CIE-LCH | lch(44.87, 63.11, 315.29°) |
| OKLab | oklab(54.37% 0.1057 -0.1247) |
| OKLCH | oklch(54.37% 0.163 310.3) |
| XYZ | xyz(22.0478, 14.4481, 45.3344) |
| Luminance | 0.1445 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.77
Deep Lavender
#8D5EB7
ΔE00 4.45
Royal Purple
#7851A9
ΔE00 4.51
Amethyst
#9B5FC0
ΔE00 5.79
Darkorchid
#9932CC
ΔE00 6.01
Medium Purple
#9E43A2
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4EB5 #76B54E
analogous
#594EB5 #8D4EB5 #B54EA9
triadic
#8D4EB5 #B58D4E #4EB58D
tetradic
#8D4EB5 #B5594E #76B54E #4EA9B5
square
#8D4EB5 #B5594E #76B54E #4EA9B5
split-complementary
#8D4EB5 #A9B54E #4EB559
monochromatic
#4B2860 #6C3A8B #8D4EB5 #A979C7 #C5A4D9
Accessibility & contrast
On white
5.40
#8D4EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#8D4EB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4EB5
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4EB5 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D67B8
Deuteranopia (green-blind)
#446BB2
Tritanopia (blue-blind)
#88607A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8d4eb5; /* rgb */ color: rgb(141, 78, 181); /* oklch */ color: oklch(54.4% 0.163 310.3);
Tailwind
colors: {
custom: {
50: '#b182cc',
500: '#8d4eb5',
950: '#000000',
},
}SCSS
$custom: #8d4eb5; $custom-light: #b182cc; $custom-dark: #000000;
JSON
{
"hex": "#8d4eb5",
"rgb": {
"r": 141,
"g": 78,
"b": 181
},
"hsl": {
"h": 276.699,
"s": 41.036,
"l": 50.784
},
"oklch": {
"l": 0.54373,
"c": 0.16347,
"h": 310.3
},
"luminance": 0.14448
}Semantic roles & 50–950 ramp
primary
#8D4EB5
secondary
#AAC699
accent
#D15786
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B13
muted
#807C82