#8D2CA7#8D2CA7
#8D2CA7 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.196 H 318.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2CA7 |
|---|---|
| RGB | rgb(141, 44, 167) |
| HSL | hsl(287, 58%, 41%) |
| HSV | hsv(287, 74%, 65%) |
| CMYK | cmyk(15.6%, 73.7%, 0%, 34.5%) |
| CIE-LAB | lab(38.30, 57.59, -46.62) |
| CIE-LCH | lch(38.30, 74.10, 321.01°) |
| OKLab | oklab(49.35% 0.1462 -0.131) |
| OKLCH | oklch(49.35% 0.196 318.1) |
| XYZ | xyz(18.8593, 10.2550, 37.5377) |
| Luminance | 0.1025 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.04
Purply
#983FB2
ΔE00 4.66
Barney Purple
#A00498
ΔE00 5.39
Warm Purple
#952E8F
ΔE00 5.47
Barney
#AC1DB8
ΔE00 5.52
Darkorchid
#9932CC
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2CA7 #46A72C
analogous
#502CA7 #8D2CA7 #A72C84
triadic
#8D2CA7 #A78D2C #2CA78D
tetradic
#8D2CA7 #A7502C #46A72C #2C84A7
square
#8D2CA7 #A7502C #46A72C #2C84A7
split-complementary
#8D2CA7 #84A72C #2CA750
monochromatic
#3B1246 #641F77 #8D2CA7 #B043CD #C473DA
Accessibility & contrast
On white
6.88
#8D2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#8D2CA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D2CA7
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2CA7 | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#325DA4
Tritanopia (blue-blind)
#8C4567
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #8d2ca7; /* rgb */ color: rgb(141, 44, 167); /* oklch */ color: oklch(49.3% 0.196 318.1);
Tailwind
colors: {
custom: {
50: '#b26fc2',
500: '#8d2ca7',
950: '#000000',
},
}SCSS
$custom: #8d2ca7; $custom-light: #b26fc2; $custom-dark: #000000;
JSON
{
"hex": "#8d2ca7",
"rgb": {
"r": 141,
"g": 44,
"b": 167
},
"hsl": {
"h": 287.317,
"s": 58.294,
"l": 41.373
},
"oklch": {
"l": 0.49349,
"c": 0.19627,
"h": 318.1
},
"luminance": 0.10254
}Semantic roles & 50–950 ramp
primary
#8D2CA7
secondary
#7FC26D
accent
#E24667
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81