#8A219B#8A219B
#8A219B is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.196 H 321.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8A219B |
|---|---|
| RGB | rgb(138, 33, 155) |
| HSL | hsl(292, 65%, 37%) |
| HSV | hsv(292, 79%, 61%) |
| CMYK | cmyk(11%, 78.7%, 0%, 39.2%) |
| CIE-LAB | lab(35.71, 58.50, -43.57) |
| CIE-LCH | lch(35.71, 72.94, 323.32°) |
| OKLab | oklab(47.17% 0.1538 -0.122) |
| OKLCH | oklch(47.17% 0.196 321.6) |
| XYZ | xyz(16.9408, 8.8585, 31.8215) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.67
Darkmagenta
#8B008B
ΔE00 3.74
Barney Purple
#A00498
ΔE00 4.33
Warm Purple
#952E8F
ΔE00 4.79
Purple
#800080
ΔE00 5.54
Purply
#983FB2
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A219B #329B21
analogous
#4D219B #8A219B #9B216F
triadic
#8A219B #9B8A21 #219B8A
tetradic
#8A219B #9B4D21 #329B21 #216F9B
square
#8A219B #9B4D21 #329B21 #216F9B
split-complementary
#8A219B #6F9B21 #219B4D
monochromatic
#300C36 #5D1669 #8A219B #B72CCD #CA5ADC
Accessibility & contrast
On white
7.58
#8A219B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#8A219B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A219B
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A219B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A219B | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#325898
Tritanopia (blue-blind)
#8B3A5E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8a219b; /* rgb */ color: rgb(138, 33, 155); /* oklch */ color: oklch(47.2% 0.196 321.6);
Tailwind
colors: {
custom: {
50: '#b069b9',
500: '#8a219b',
950: '#000000',
},
}SCSS
$custom: #8a219b; $custom-light: #b069b9; $custom-dark: #000000;
JSON
{
"hex": "#8a219b",
"rgb": {
"r": 138,
"g": 33,
"b": 155
},
"hsl": {
"h": 291.639,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.47169,
"c": 0.19633,
"h": 321.6
},
"luminance": 0.08858
}Semantic roles & 50–950 ramp
primary
#8A219B
secondary
#66C058
accent
#E84057
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80