#8D239F#8D239F
#8D239F is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.199 H 321.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8D239F |
|---|---|
| RGB | rgb(141, 35, 159) |
| HSL | hsl(291, 64%, 38%) |
| HSV | hsv(291, 78%, 62%) |
| CMYK | cmyk(11.3%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(36.69, 59.20, -44.40) |
| CIE-LCH | lch(36.69, 74.00, 323.13°) |
| OKLab | oklab(48.04% 0.1552 -0.1244) |
| OKLCH | oklch(48.04% 0.199 321.3) |
| XYZ | xyz(17.8428, 9.3690, 33.6627) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.19
Barney Purple
#A00498
ΔE00 4.17
Darkmagenta
#8B008B
ΔE00 4.41
Warm Purple
#952E8F
ΔE00 4.69
Purply
#983FB2
ΔE00 6.19
Barney
#AC1DB8
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D239F #359F23
analogous
#4F239F #8D239F #9F2373
triadic
#8D239F #9F8D23 #239F8D
tetradic
#8D239F #9F4F23 #359F23 #23739F
square
#8D239F #9F4F23 #359F23 #23739F
split-complementary
#8D239F #739F23 #239F4F
monochromatic
#340D3B #61186D #8D239F #B92ED1 #CA60DC
Accessibility & contrast
On white
7.31
#8D239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#8D239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D239F
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D239F | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#335A9C
Tritanopia (blue-blind)
#8E3D60
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8d239f; /* rgb */ color: rgb(141, 35, 159); /* oklch */ color: oklch(48.0% 0.199 321.3);
Tailwind
colors: {
custom: {
50: '#b26bbc',
500: '#8d239f',
950: '#000000',
},
}SCSS
$custom: #8d239f; $custom-light: #b26bbc; $custom-dark: #000000;
JSON
{
"hex": "#8d239f",
"rgb": {
"r": 141,
"g": 35,
"b": 159
},
"hsl": {
"h": 291.29,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.48039,
"c": 0.19893,
"h": 321.3
},
"luminance": 0.09368
}Semantic roles & 50–950 ramp
primary
#8D239F
secondary
#6BC15D
accent
#E74159
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81