#8D2CA1#8D2CA1
#8D2CA1 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.191 H 320.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2CA1 |
|---|---|
| RGB | rgb(141, 44, 161) |
| HSL | hsl(290, 57%, 40%) |
| HSV | hsv(290, 73%, 63%) |
| CMYK | cmyk(12.4%, 72.7%, 0%, 36.9%) |
| CIE-LAB | lab(37.91, 56.44, -43.64) |
| CIE-LCH | lch(37.91, 71.34, 322.29°) |
| OKLab | oklab(48.95% 0.1467 -0.1222) |
| OKLCH | oklch(48.95% 0.191 320.2) |
| XYZ | xyz(18.3174, 10.0382, 34.6840) |
| Luminance | 0.1004 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.97
Warm Purple
#952E8F
ΔE00 4.51
Barney Purple
#A00498
ΔE00 4.72
Purply
#983FB2
ΔE00 5.02
Darkmagenta
#8B008B
ΔE00 5.53
Barney
#AC1DB8
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2CA1 #40A12C
analogous
#532CA1 #8D2CA1 #A12C7A
triadic
#8D2CA1 #A18D2C #2CA18D
tetradic
#8D2CA1 #A1532C #40A12C #2C7AA1
square
#8D2CA1 #A1532C #40A12C #2C7AA1
split-complementary
#8D2CA1 #7AA12C #2CA153
monochromatic
#391241 #631F71 #8D2CA1 #B340CB #C670D8
Accessibility & contrast
On white
6.98
#8D2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#8D2CA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D2CA1
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2CA1 | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#375D9E
Tritanopia (blue-blind)
#8E4264
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8d2ca1; /* rgb */ color: rgb(141, 44, 161); /* oklch */ color: oklch(49.0% 0.191 320.2);
Tailwind
colors: {
custom: {
50: '#b26fbd',
500: '#8d2ca1',
950: '#000000',
},
}SCSS
$custom: #8d2ca1; $custom-light: #b26fbd; $custom-dark: #000000;
JSON
{
"hex": "#8d2ca1",
"rgb": {
"r": 141,
"g": 44,
"b": 161
},
"hsl": {
"h": 289.744,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.48951,
"c": 0.19094,
"h": 320.2
},
"luminance": 0.10037
}Semantic roles & 50–950 ramp
primary
#8D2CA1
secondary
#78BF6A
accent
#E04762
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81