#8C219E#8C219E
#8C219E is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.7% C 0.200 H 321.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8C219E |
|---|---|
| RGB | rgb(140, 33, 158) |
| HSL | hsl(291, 65%, 37%) |
| HSV | hsv(291, 79%, 62%) |
| CMYK | cmyk(11.4%, 79.1%, 0%, 38%) |
| CIE-LAB | lab(36.24, 59.44, -44.52) |
| CIE-LCH | lch(36.24, 74.27, 323.17°) |
| OKLab | oklab(47.67% 0.1558 -0.1248) |
| OKLCH | oklch(47.67% 0.2 321.3) |
| XYZ | xyz(17.5299, 9.1328, 33.1806) |
| Luminance | 0.0913 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.90
Darkmagenta
#8B008B
ΔE00 4.12
Barney Purple
#A00498
ΔE00 4.23
Warm Purple
#952E8F
ΔE00 4.84
Purple
#800080
ΔE00 6.02
Barney
#AC1DB8
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C219E #339E21
analogous
#4E219E #8C219E #9E2172
triadic
#8C219E #9E8C21 #219E8C
tetradic
#8C219E #9E4E21 #339E21 #21729E
square
#8C219E #9E4E21 #339E21 #21729E
split-complementary
#8C219E #729E21 #219E4E
monochromatic
#320C39 #5F166B #8C219E #B92CD1 #CB5CDD
Accessibility & contrast
On white
7.43
#8C219E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#8C219E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C219E
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C219E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C219E | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#32599B
Tritanopia (blue-blind)
#8D3B5F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8c219e; /* rgb */ color: rgb(140, 33, 158); /* oklch */ color: oklch(47.7% 0.200 321.3);
Tailwind
colors: {
custom: {
50: '#b26abb',
500: '#8c219e',
950: '#000000',
},
}SCSS
$custom: #8c219e; $custom-light: #b26abb; $custom-dark: #000000;
JSON
{
"hex": "#8c219e",
"rgb": {
"r": 140,
"g": 33,
"b": 158
},
"hsl": {
"h": 291.36,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.4767,
"c": 0.19963,
"h": 321.3
},
"luminance": 0.09132
}Semantic roles & 50–950 ramp
primary
#8C219E
secondary
#68C159
accent
#E83F58
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81