#8D4BB1#8D4BB1
#8D4BB1 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.164 H 312.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4BB1 |
|---|---|
| RGB | rgb(141, 75, 177) |
| HSL | hsl(279, 40%, 49%) |
| HSV | hsv(279, 58%, 69%) |
| CMYK | cmyk(20.3%, 57.6%, 0%, 30.6%) |
| CIE-LAB | lab(44.05, 45.53, -43.36) |
| CIE-LCH | lch(44.05, 62.87, 316.40°) |
| OKLab | oklab(53.7% 0.1096 -0.1216) |
| OKLCH | oklch(53.7% 0.164 312) |
| XYZ | xyz(21.4350, 13.8697, 43.1344) |
| Luminance | 0.1387 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.05
Royal Purple
#7851A9
ΔE00 4.62
Deep Lavender
#8D5EB7
ΔE00 5.27
Medium Purple
#9E43A2
ΔE00 5.35
Darkorchid
#9932CC
ΔE00 5.87
Amethyst
#9B5FC0
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4BB1 #6FB14B
analogous
#5A4BB1 #8D4BB1 #B14BA2
triadic
#8D4BB1 #B18D4B #4BB18D
tetradic
#8D4BB1 #B15A4B #6FB14B #4BA2B1
square
#8D4BB1 #B15A4B #6FB14B #4BA2B1
split-complementary
#8D4BB1 #A2B14B #4BB15A
monochromatic
#49275B #6B3986 #8D4BB1 #A875C4 #C3A0D7
Accessibility & contrast
On white
5.56
#8D4BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#8D4BB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4BB1
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4BB1 | 1.00 | 5.56 | 3.77 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B65B4
Deuteranopia (green-blind)
#446AAE
Tritanopia (blue-blind)
#895D77
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8d4bb1; /* rgb */ color: rgb(141, 75, 177); /* oklch */ color: oklch(53.7% 0.164 312.0);
Tailwind
colors: {
custom: {
50: '#b180c9',
500: '#8d4bb1',
950: '#000000',
},
}SCSS
$custom: #8d4bb1; $custom-light: #b180c9; $custom-dark: #000000;
JSON
{
"hex": "#8d4bb1",
"rgb": {
"r": 141,
"g": 75,
"b": 177
},
"hsl": {
"h": 278.824,
"s": 40.476,
"l": 49.412
},
"oklch": {
"l": 0.53696,
"c": 0.16368,
"h": 312
},
"luminance": 0.13869
}Semantic roles & 50–950 ramp
primary
#8D4BB1
secondary
#A5C394
accent
#D05782
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82