#8C219A#8C219A
#8C219A is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.196 H 322.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #8C219A |
|---|---|
| RGB | rgb(140, 33, 154) |
| HSL | hsl(293, 65%, 37%) |
| HSV | hsv(293, 79%, 60%) |
| CMYK | cmyk(9.1%, 78.6%, 0%, 39.6%) |
| CIE-LAB | lab(35.98, 58.72, -42.51) |
| CIE-LCH | lch(35.98, 72.49, 324.10°) |
| OKLab | oklab(47.4% 0.1563 -0.1189) |
| OKLCH | oklch(47.4% 0.196 322.7) |
| XYZ | xyz(17.1912, 8.9973, 31.3967) |
| Luminance | 0.0900 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.16
Darkmagenta
#8B008B
ΔE00 3.60
Barney Purple
#A00498
ΔE00 3.88
Warm Purple
#952E8F
ΔE00 4.33
Purple
#800080
ΔE00 5.52
Barney
#AC1DB8
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C219A #2F9A21
analogous
#50219A #8C219A #9A216C
triadic
#8C219A #9A8C21 #219A8C
tetradic
#8C219A #9A5021 #2F9A21 #216C9A
square
#8C219A #9A5021 #2F9A21 #216C9A
split-complementary
#8C219A #6C9A21 #219A50
monochromatic
#300B35 #5E1668 #8C219A #BA2CCC #CD5ADC
Accessibility & contrast
On white
7.50
#8C219A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#8C219A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C219A
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C219A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C219A | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#355997
Tritanopia (blue-blind)
#8E395D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8c219a; /* rgb */ color: rgb(140, 33, 154); /* oklch */ color: oklch(47.4% 0.196 322.7);
Tailwind
colors: {
custom: {
50: '#b16ab8',
500: '#8c219a',
950: '#000000',
},
}SCSS
$custom: #8c219a; $custom-light: #b16ab8; $custom-dark: #000000;
JSON
{
"hex": "#8c219a",
"rgb": {
"r": 140,
"g": 33,
"b": 154
},
"hsl": {
"h": 293.058,
"s": 64.706,
"l": 36.667
},
"oklch": {
"l": 0.47403,
"c": 0.19634,
"h": 322.7
},
"luminance": 0.08996
}Semantic roles & 50–950 ramp
primary
#8C219A
secondary
#63C057
accent
#E84053
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80