#8D2C9F#8D2C9F
#8D2C9F is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.189 H 320.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2C9F |
|---|---|
| RGB | rgb(141, 44, 159) |
| HSL | hsl(291, 57%, 40%) |
| HSV | hsv(291, 72%, 62%) |
| CMYK | cmyk(11.3%, 72.3%, 0%, 37.6%) |
| CIE-LAB | lab(37.79, 56.05, -42.64) |
| CIE-LCH | lch(37.79, 70.43, 322.74°) |
| OKLab | oklab(48.82% 0.1468 -0.1193) |
| OKLCH | oklch(48.82% 0.189 320.9) |
| XYZ | xyz(18.1425, 9.9682, 33.7626) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.02
Warm Purple
#952E8F
ΔE00 4.18
Barney Purple
#A00498
ΔE00 4.53
Purply
#983FB2
ΔE00 5.18
Darkmagenta
#8B008B
ΔE00 5.31
Barney
#AC1DB8
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2C9F #3E9F2C
analogous
#542C9F #8D2C9F #9F2C77
triadic
#8D2C9F #9F8D2C #2C9F8D
tetradic
#8D2C9F #9F542C #3E9F2C #2C779F
square
#8D2C9F #9F542C #3E9F2C #2C779F
split-complementary
#8D2C9F #779F2C #2C9F54
monochromatic
#38113F #621F6F #8D2C9F #B43ECA #C76ED7
Accessibility & contrast
On white
7.02
#8D2C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#8D2C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D2C9F
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2C9F | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#395C9C
Tritanopia (blue-blind)
#8E4263
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8d2c9f; /* rgb */ color: rgb(141, 44, 159); /* oklch */ color: oklch(48.8% 0.189 320.9);
Tailwind
colors: {
custom: {
50: '#b26fbc',
500: '#8d2c9f',
950: '#000000',
},
}SCSS
$custom: #8d2c9f; $custom-light: #b26fbc; $custom-dark: #000000;
JSON
{
"hex": "#8d2c9f",
"rgb": {
"r": 141,
"g": 44,
"b": 159
},
"hsl": {
"h": 290.609,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.48821,
"c": 0.18918,
"h": 320.9
},
"luminance": 0.09967
}Semantic roles & 50–950 ramp
primary
#8D2C9F
secondary
#76BE69
accent
#E04860
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81