#8D339F#8D339F
#8D339F is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.5% C 0.180 H 320.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8D339F |
|---|---|
| RGB | rgb(141, 51, 159) |
| HSL | hsl(290, 51%, 41%) |
| HSV | hsv(290, 68%, 62%) |
| CMYK | cmyk(11.3%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(38.79, 53.23, -41.04) |
| CIE-LCH | lch(38.79, 67.22, 322.37°) |
| OKLab | oklab(49.54% 0.1393 -0.1147) |
| OKLCH | oklch(49.54% 0.18 320.5) |
| XYZ | xyz(18.4256, 10.5345, 33.8570) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.02
Purply
#983FB2
ΔE00 4.37
Purple (survey)
#7E1E9C
ΔE00 4.96
Barney Purple
#A00498
ΔE00 5.13
Medium Purple
#9E43A2
ΔE00 5.37
Barney
#AC1DB8
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D339F #459F33
analogous
#57339F #8D339F #9F337B
triadic
#8D339F #9F8D33 #339F8D
tetradic
#8D339F #9F5733 #459F33 #337B9F
square
#8D339F #9F5733 #459F33 #337B9F
split-complementary
#8D339F #7B9F33 #339F57
monochromatic
#3B1542 #642471 #8D339F #B14AC5 #C579D4
Accessibility & contrast
On white
6.76
#8D339F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#8D339F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D339F
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D339F | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E55A2
Deuteranopia (green-blind)
#3D5F9C
Tritanopia (blue-blind)
#8E4665
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8d339f; /* rgb */ color: rgb(141, 51, 159); /* oklch */ color: oklch(49.5% 0.180 320.5);
Tailwind
colors: {
custom: {
50: '#b272bc',
500: '#8d339f',
950: '#000000',
},
}SCSS
$custom: #8d339f; $custom-light: #b272bc; $custom-dark: #000000;
JSON
{
"hex": "#8d339f",
"rgb": {
"r": 141,
"g": 51,
"b": 159
},
"hsl": {
"h": 290,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.49538,
"c": 0.18042,
"h": 320.5
},
"luminance": 0.10534
}Semantic roles & 50–950 ramp
primary
#8D339F
secondary
#7EBC71
accent
#DB4D65
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81