#8A209B#8A209B
#8A209B is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.197 H 321.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8A209B |
|---|---|
| RGB | rgb(138, 32, 155) |
| HSL | hsl(292, 66%, 37%) |
| HSV | hsv(292, 79%, 61%) |
| CMYK | cmyk(11%, 79.4%, 0%, 39.2%) |
| CIE-LAB | lab(35.60, 58.80, -43.74) |
| CIE-LCH | lch(35.60, 73.29, 323.36°) |
| OKLab | oklab(47.09% 0.1546 -0.1225) |
| OKLCH | oklch(47.09% 0.197 321.6) |
| XYZ | xyz(16.9135, 8.8038, 31.8124) |
| Luminance | 0.0880 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.61
Darkmagenta
#8B008B
ΔE00 3.67
Barney Purple
#A00498
ΔE00 4.33
Warm Purple
#952E8F
ΔE00 4.87
Purple
#800080
ΔE00 5.47
Purply
#983FB2
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A209B #319B20
analogous
#4D209B #8A209B #9B206F
triadic
#8A209B #9B8A20 #209B8A
tetradic
#8A209B #9B4D20 #319B20 #206F9B
square
#8A209B #9B4D20 #319B20 #206F9B
split-complementary
#8A209B #6F9B20 #209B4D
monochromatic
#300B36 #5D1668 #8A209B #B72ACE #CA59DD
Accessibility & contrast
On white
7.61
#8A209B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#8A209B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A209B
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A209B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A209B | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#315798
Tritanopia (blue-blind)
#8B3A5E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8a209b; /* rgb */ color: rgb(138, 32, 155); /* oklch */ color: oklch(47.1% 0.197 321.6);
Tailwind
colors: {
custom: {
50: '#b069b9',
500: '#8a209b',
950: '#000000',
},
}SCSS
$custom: #8a209b; $custom-light: #b069b9; $custom-dark: #000000;
JSON
{
"hex": "#8a209b",
"rgb": {
"r": 138,
"g": 32,
"b": 155
},
"hsl": {
"h": 291.707,
"s": 65.775,
"l": 36.667
},
"oklch": {
"l": 0.47093,
"c": 0.19729,
"h": 321.6
},
"luminance": 0.08803
}Semantic roles & 50–950 ramp
primary
#8A209B
secondary
#65C156
accent
#E93F57
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80