#8D4CB2#8D4CB2
#8D4CB2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.163 H 311.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4CB2 |
|---|---|
| RGB | rgb(141, 76, 178) |
| HSL | hsl(278, 40%, 50%) |
| HSV | hsv(278, 57%, 70%) |
| CMYK | cmyk(20.8%, 57.3%, 0%, 30.2%) |
| CIE-LAB | lab(44.30, 45.23, -43.54) |
| CIE-LCH | lch(44.30, 62.78, 316.09°) |
| OKLab | oklab(53.9% 0.1083 -0.1221) |
| OKLCH | oklch(53.9% 0.163 311.6) |
| XYZ | xyz(21.6034, 14.0464, 43.6840) |
| Luminance | 0.1405 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.26
Royal Purple
#7851A9
ΔE00 4.56
Deep Lavender
#8D5EB7
ΔE00 5.00
Medium Purple
#9E43A2
ΔE00 5.53
Darkorchid
#9932CC
ΔE00 5.93
Amethyst
#9B5FC0
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4CB2 #71B24C
analogous
#5A4CB2 #8D4CB2 #B24CA4
triadic
#8D4CB2 #B28D4C #4CB28D
tetradic
#8D4CB2 #B25A4C #71B24C #4CA4B2
square
#8D4CB2 #B25A4C #71B24C #4CA4B2
split-complementary
#8D4CB2 #A4B24C #4CB25A
monochromatic
#49275C #6B3A87 #8D4CB2 #A876C5 #C4A1D7
Accessibility & contrast
On white
5.51
#8D4CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#8D4CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4CB2
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4CB2 | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#446AAF
Tritanopia (blue-blind)
#895E78
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8d4cb2; /* rgb */ color: rgb(141, 76, 178); /* oklch */ color: oklch(53.9% 0.163 311.6);
Tailwind
colors: {
custom: {
50: '#b181c9',
500: '#8d4cb2',
950: '#000000',
},
}SCSS
$custom: #8d4cb2; $custom-light: #b181c9; $custom-dark: #000000;
JSON
{
"hex": "#8d4cb2",
"rgb": {
"r": 141,
"g": 76,
"b": 178
},
"hsl": {
"h": 278.235,
"s": 40.157,
"l": 49.804
},
"oklch": {
"l": 0.539,
"c": 0.16323,
"h": 311.6
},
"luminance": 0.14046
}Semantic roles & 50–950 ramp
primary
#8D4CB2
secondary
#A7C496
accent
#D05883
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82