#8D299F#8D299F
#8D299F is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.193 H 321.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8D299F |
|---|---|
| RGB | rgb(141, 41, 159) |
| HSL | hsl(291, 59%, 39%) |
| HSV | hsv(291, 74%, 62%) |
| CMYK | cmyk(11.3%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(37.40, 57.17, -43.26) |
| CIE-LCH | lch(37.40, 71.69, 322.88°) |
| OKLab | oklab(48.54% 0.1498 -0.1211) |
| OKLCH | oklch(48.54% 0.193 321) |
| XYZ | xyz(18.0347, 9.7528, 33.7267) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.70
Warm Purple
#952E8F
ΔE00 4.33
Barney Purple
#A00498
ΔE00 4.36
Darkmagenta
#8B008B
ΔE00 4.97
Purply
#983FB2
ΔE00 5.53
Barney
#AC1DB8
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D299F #3B9F29
analogous
#52299F #8D299F #9F2976
triadic
#8D299F #9F8D29 #299F8D
tetradic
#8D299F #9F5229 #3B9F29 #29769F
square
#8D299F #9F5229 #3B9F29 #29769F
split-complementary
#8D299F #769F29 #299F52
monochromatic
#37103E #621C6E #8D299F #B639CC #C86AD9
Accessibility & contrast
On white
7.12
#8D299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#8D299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D299F
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D299F | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#375C9C
Tritanopia (blue-blind)
#8E4062
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #8d299f; /* rgb */ color: rgb(141, 41, 159); /* oklch */ color: oklch(48.5% 0.193 321.0);
Tailwind
colors: {
custom: {
50: '#b26dbc',
500: '#8d299f',
950: '#000000',
},
}SCSS
$custom: #8d299f; $custom-light: #b26dbc; $custom-dark: #000000;
JSON
{
"hex": "#8d299f",
"rgb": {
"r": 141,
"g": 41,
"b": 159
},
"hsl": {
"h": 290.847,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.48543,
"c": 0.19262,
"h": 321
},
"luminance": 0.09752
}Semantic roles & 50–950 ramp
primary
#8D299F
secondary
#73BF65
accent
#E2465D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81