#8D4F99#8D4F99
#8D4F99 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 52.9% C 0.131 H 320.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4F99 |
|---|---|
| RGB | rgb(141, 79, 153) |
| HSL | hsl(290, 32%, 45%) |
| HSV | hsv(290, 48%, 60%) |
| CMYK | cmyk(7.8%, 48.4%, 0%, 40%) |
| CIE-LAB | lab(43.59, 38.20, -29.84) |
| CIE-LCH | lch(43.59, 48.47, 322.00°) |
| OKLab | oklab(52.95% 0.1015 -0.0824) |
| OKLCH | oklch(52.95% 0.131 320.9) |
| XYZ | xyz(19.5296, 13.5554, 31.7185) |
| Luminance | 0.1356 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 4.21
Light Eggplant
#894585
ΔE00 4.57
Ugly Purple
#A442A0
ΔE00 5.05
Purplish
#94568C
ΔE00 5.20
Purpleish
#98568D
ΔE00 5.62
Purply
#983FB2
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4F99 #5B994F
analogous
#684F99 #8D4F99 #994F80
triadic
#8D4F99 #998D4F #4F998D
tetradic
#8D4F99 #99684F #5B994F #4F8099
square
#8D4F99 #99684F #5B994F #4F8099
split-complementary
#8D4F99 #80994F #4F9968
monochromatic
#432548 #683A71 #8D4F99 #AA70B5 #C298CA
Accessibility & contrast
On white
5.66
#8D4F99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#8D4F99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4F99
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4F99 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#44639C
Deuteranopia (green-blind)
#566997
Tritanopia (blue-blind)
#8E596D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8d4f99; /* rgb */ color: rgb(141, 79, 153); /* oklch */ color: oklch(52.9% 0.131 320.9);
Tailwind
colors: {
custom: {
50: '#b082b7',
500: '#8d4f99',
950: '#000000',
},
}SCSS
$custom: #8d4f99; $custom-light: #b082b7; $custom-dark: #000000;
JSON
{
"hex": "#8d4f99",
"rgb": {
"r": 141,
"g": 79,
"b": 153
},
"hsl": {
"h": 290.27,
"s": 31.897,
"l": 45.49
},
"oklch": {
"l": 0.52945,
"c": 0.13076,
"h": 320.9
},
"luminance": 0.13555
}Semantic roles & 50–950 ramp
primary
#8D4F99
secondary
#94B78D
accent
#C86071
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80