#8D2CA2#8D2CA2
#8D2CA2 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.192 H 319.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2CA2 |
|---|---|
| RGB | rgb(141, 44, 162) |
| HSL | hsl(289, 57%, 40%) |
| HSV | hsv(289, 73%, 64%) |
| CMYK | cmyk(13%, 72.8%, 0%, 36.5%) |
| CIE-LAB | lab(37.97, 56.63, -44.14) |
| CIE-LCH | lch(37.97, 71.80, 322.06°) |
| OKLab | oklab(49.02% 0.1466 -0.1237) |
| OKLCH | oklch(49.02% 0.192 319.8) |
| XYZ | xyz(18.4060, 10.0736, 35.1503) |
| Luminance | 0.1007 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.96
Warm Purple
#952E8F
ΔE00 4.67
Barney Purple
#A00498
ΔE00 4.83
Purply
#983FB2
ΔE00 4.94
Darkmagenta
#8B008B
ΔE00 5.65
Barney
#AC1DB8
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2CA2 #41A22C
analogous
#522CA2 #8D2CA2 #A22C7C
triadic
#8D2CA2 #A28D2C #2CA28D
tetradic
#8D2CA2 #A2522C #41A22C #2C7CA2
square
#8D2CA2 #A2522C #41A22C #2C7CA2
split-complementary
#8D2CA2 #7CA22C #2CA252
monochromatic
#391242 #631F72 #8D2CA2 #B240CB #C670D8
Accessibility & contrast
On white
6.97
#8D2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#8D2CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D2CA2
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2CA2 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#365D9F
Tritanopia (blue-blind)
#8D4364
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8d2ca2; /* rgb */ color: rgb(141, 44, 162); /* oklch */ color: oklch(49.0% 0.192 319.8);
Tailwind
colors: {
custom: {
50: '#b26fbe',
500: '#8d2ca2',
950: '#000000',
},
}SCSS
$custom: #8d2ca2; $custom-light: #b26fbe; $custom-dark: #000000;
JSON
{
"hex": "#8d2ca2",
"rgb": {
"r": 141,
"g": 44,
"b": 162
},
"hsl": {
"h": 289.322,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.49017,
"c": 0.19183,
"h": 319.8
},
"luminance": 0.10073
}Semantic roles & 50–950 ramp
primary
#8D2CA2
secondary
#79BF6A
accent
#E14763
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81