#8C229B#8C229B
#8C229B is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.196 H 322.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8C229B |
|---|---|
| RGB | rgb(140, 34, 155) |
| HSL | hsl(293, 64%, 37%) |
| HSV | hsv(293, 78%, 61%) |
| CMYK | cmyk(9.7%, 78.1%, 0%, 39.2%) |
| CIE-LAB | lab(36.15, 58.59, -42.84) |
| CIE-LCH | lch(36.15, 72.58, 323.82°) |
| OKLab | oklab(47.55% 0.1553 -0.1199) |
| OKLCH | oklch(47.55% 0.196 322.3) |
| XYZ | xyz(17.3030, 9.0871, 31.8466) |
| Luminance | 0.0909 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.14
Darkmagenta
#8B008B
ΔE00 3.81
Barney Purple
#A00498
ΔE00 3.97
Warm Purple
#952E8F
ΔE00 4.38
Purple
#800080
ΔE00 5.71
Purply
#983FB2
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C229B #319B22
analogous
#50229B #8C229B #9B226E
triadic
#8C229B #9B8C22 #229B8C
tetradic
#8C229B #9B5022 #319B22 #226E9B
square
#8C229B #9B5022 #319B22 #226E9B
split-complementary
#8C229B #6E9B22 #229B50
monochromatic
#310C37 #5F1769 #8C229B #B92DCD #CC5CDB
Accessibility & contrast
On white
7.45
#8C229B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#8C229B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C229B
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C229B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C229B | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#355998
Tritanopia (blue-blind)
#8E3A5E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8c229b; /* rgb */ color: rgb(140, 34, 155); /* oklch */ color: oklch(47.5% 0.196 322.3);
Tailwind
colors: {
custom: {
50: '#b16ab9',
500: '#8c229b',
950: '#000000',
},
}SCSS
$custom: #8c229b; $custom-light: #b16ab9; $custom-dark: #000000;
JSON
{
"hex": "#8c229b",
"rgb": {
"r": 140,
"g": 34,
"b": 155
},
"hsl": {
"h": 292.562,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.47546,
"c": 0.19618,
"h": 322.3
},
"luminance": 0.09086
}Semantic roles & 50–950 ramp
primary
#8C229B
secondary
#66C059
accent
#E74155
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80