#8D4BB2#8D4BB2
#8D4BB2 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.8% C 0.165 H 311.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4BB2 |
|---|---|
| RGB | rgb(141, 75, 178) |
| HSL | hsl(278, 41%, 50%) |
| HSV | hsv(278, 58%, 70%) |
| CMYK | cmyk(20.8%, 57.9%, 0%, 30.2%) |
| CIE-LAB | lab(44.10, 45.75, -43.86) |
| CIE-LCH | lch(44.10, 63.38, 316.21°) |
| OKLab | oklab(53.76% 0.1096 -0.1231) |
| OKLCH | oklch(53.76% 0.165 311.7) |
| XYZ | xyz(21.5350, 13.9097, 43.6613) |
| Luminance | 0.1391 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.08
Royal Purple
#7851A9
ΔE00 4.63
Deep Lavender
#8D5EB7
ΔE00 5.24
Medium Purple
#9E43A2
ΔE00 5.48
Darkorchid
#9932CC
ΔE00 5.75
Amethyst
#9B5FC0
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4BB2 #70B24B
analogous
#5A4BB2 #8D4BB2 #B24BA3
triadic
#8D4BB2 #B28D4B #4BB28D
tetradic
#8D4BB2 #B25A4B #70B24B #4BA3B2
square
#8D4BB2 #B25A4B #70B24B #4BA3B2
split-complementary
#8D4BB2 #A3B24B #4BB25A
monochromatic
#49275C #6B3987 #8D4BB2 #A875C5 #C3A0D7
Accessibility & contrast
On white
5.55
#8D4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#8D4BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4BB2
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4BB2 | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A65B5
Deuteranopia (green-blind)
#436AAF
Tritanopia (blue-blind)
#895D77
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8d4bb2; /* rgb */ color: rgb(141, 75, 178); /* oklch */ color: oklch(53.8% 0.165 311.7);
Tailwind
colors: {
custom: {
50: '#b180c9',
500: '#8d4bb2',
950: '#000000',
},
}SCSS
$custom: #8d4bb2; $custom-light: #b180c9; $custom-dark: #000000;
JSON
{
"hex": "#8d4bb2",
"rgb": {
"r": 141,
"g": 75,
"b": 178
},
"hsl": {
"h": 278.447,
"s": 40.711,
"l": 49.608
},
"oklch": {
"l": 0.53756,
"c": 0.16478,
"h": 311.7
},
"luminance": 0.13909
}Semantic roles & 50–950 ramp
primary
#8D4BB2
secondary
#A6C495
accent
#D15783
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82