#8D2C9D#8D2C9D
#8D2C9D is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.187 H 321.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2C9D |
|---|---|
| RGB | rgb(141, 44, 157) |
| HSL | hsl(292, 56%, 39%) |
| HSV | hsv(292, 72%, 62%) |
| CMYK | cmyk(10.2%, 72%, 0%, 38.4%) |
| CIE-LAB | lab(37.66, 55.68, -41.63) |
| CIE-LCH | lch(37.66, 69.52, 323.21°) |
| OKLab | oklab(48.69% 0.1469 -0.1163) |
| OKLCH | oklch(48.69% 0.187 321.6) |
| XYZ | xyz(17.9703, 9.8994, 32.8560) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.86
Purple (survey)
#7E1E9C
ΔE00 4.11
Barney Purple
#A00498
ΔE00 4.35
Darkmagenta
#8B008B
ΔE00 5.10
Purply
#983FB2
ΔE00 5.36
Barney
#AC1DB8
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2C9D #3C9D2C
analogous
#542C9D #8D2C9D #9D2C75
triadic
#8D2C9D #9D8D2C #2C9D8D
tetradic
#8D2C9D #9D542C #3C9D2C #2C759D
square
#8D2C9D #9D542C #3C9D2C #2C759D
split-complementary
#8D2C9D #759D2C #2C9D54
monochromatic
#37113D #621F6D #8D2C9D #B53DC9 #C76DD6
Accessibility & contrast
On white
7.05
#8D2C9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#8D2C9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D2C9D
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2C9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2C9D | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#3A5C9A
Tritanopia (blue-blind)
#8E4162
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8d2c9d; /* rgb */ color: rgb(141, 44, 157); /* oklch */ color: oklch(48.7% 0.187 321.6);
Tailwind
colors: {
custom: {
50: '#b26fba',
500: '#8d2c9d',
950: '#000000',
},
}SCSS
$custom: #8d2c9d; $custom-light: #b26fba; $custom-dark: #000000;
JSON
{
"hex": "#8d2c9d",
"rgb": {
"r": 141,
"g": 44,
"b": 157
},
"hsl": {
"h": 291.504,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.48693,
"c": 0.18742,
"h": 321.6
},
"luminance": 0.09898
}Semantic roles & 50–950 ramp
primary
#8D2C9D
secondary
#74BD68
accent
#E0485E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81