#8D229C#8D229C
#8D229C is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.197 H 322.4°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8D229C |
|---|---|
| RGB | rgb(141, 34, 156) |
| HSL | hsl(293, 64%, 37%) |
| HSV | hsv(293, 78%, 61%) |
| CMYK | cmyk(9.6%, 78.2%, 0%, 38.8%) |
| CIE-LAB | lab(36.38, 58.97, -43.07) |
| CIE-LCH | lch(36.38, 73.03, 323.86°) |
| OKLab | oklab(47.76% 0.1564 -0.1205) |
| OKLCH | oklch(47.76% 0.197 322.4) |
| XYZ | xyz(17.5567, 9.2081, 32.2986) |
| Luminance | 0.0921 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.28
Barney Purple
#A00498
ΔE00 3.87
Darkmagenta
#8B008B
ΔE00 3.94
Warm Purple
#952E8F
ΔE00 4.34
Purple
#800080
ΔE00 5.89
Barney
#AC1DB8
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D229C #319C22
analogous
#50229C #8D229C #9C226E
triadic
#8D229C #9C8D22 #229C8D
tetradic
#8D229C #9C5022 #319C22 #226E9C
square
#8D229C #9C5022 #319C22 #226E9C
split-complementary
#8D229C #6E9C22 #229C50
monochromatic
#320C38 #60176A #8D229C #BA2DCE #CC5DDC
Accessibility & contrast
On white
7.39
#8D229C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#8D229C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D229C
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D229C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D229C | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#355A99
Tritanopia (blue-blind)
#8F3B5F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8d229c; /* rgb */ color: rgb(141, 34, 156); /* oklch */ color: oklch(47.8% 0.197 322.4);
Tailwind
colors: {
custom: {
50: '#b26aba',
500: '#8d229c',
950: '#000000',
},
}SCSS
$custom: #8d229c; $custom-light: #b26aba; $custom-dark: #000000;
JSON
{
"hex": "#8d229c",
"rgb": {
"r": 141,
"g": 34,
"b": 156
},
"hsl": {
"h": 292.623,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.47762,
"c": 0.19743,
"h": 322.4
},
"luminance": 0.09207
}Semantic roles & 50–950 ramp
primary
#8D229C
secondary
#66C05A
accent
#E74155
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81