#8A2B9F#8A2B9F
#8A2B9F is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.189 H 319.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2B9F |
|---|---|
| RGB | rgb(138, 43, 159) |
| HSL | hsl(289, 57%, 40%) |
| HSV | hsv(289, 73%, 62%) |
| CMYK | cmyk(13.2%, 73%, 0%, 37.6%) |
| CIE-LAB | lab(37.18, 55.78, -43.63) |
| CIE-LCH | lch(37.18, 70.82, 321.97°) |
| OKLab | oklab(48.3% 0.1442 -0.1223) |
| OKLCH | oklch(48.3% 0.189 319.7) |
| XYZ | xyz(17.6023, 9.6351, 33.7267) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.37
Warm Purple
#952E8F
ΔE00 4.70
Barney Purple
#A00498
ΔE00 4.93
Darkmagenta
#8B008B
ΔE00 5.18
Purply
#983FB2
ΔE00 5.59
Barney
#AC1DB8
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2B9F #409F2B
analogous
#502B9F #8A2B9F #9F2B7A
triadic
#8A2B9F #9F8A2B #2B9F8A
tetradic
#8A2B9F #9F502B #409F2B #2B7A9F
square
#8A2B9F #9F502B #409F2B #2B7A9F
split-complementary
#8A2B9F #7A9F2B #2B9F50
monochromatic
#36113F #601E6F #8A2B9F #B13DCA #C46DD7
Accessibility & contrast
On white
7.18
#8A2B9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#8A2B9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2B9F
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2B9F | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#355B9C
Tritanopia (blue-blind)
#8A4262
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8a2b9f; /* rgb */ color: rgb(138, 43, 159); /* oklch */ color: oklch(48.3% 0.189 319.7);
Tailwind
colors: {
custom: {
50: '#b06ebc',
500: '#8a2b9f',
950: '#000000',
},
}SCSS
$custom: #8a2b9f; $custom-light: #b06ebc; $custom-dark: #000000;
JSON
{
"hex": "#8a2b9f",
"rgb": {
"r": 138,
"g": 43,
"b": 159
},
"hsl": {
"h": 289.138,
"s": 57.426,
"l": 39.608
},
"oklch": {
"l": 0.48295,
"c": 0.18907,
"h": 319.7
},
"luminance": 0.09634
}Semantic roles & 50–950 ramp
primary
#8A2B9F
secondary
#77BE67
accent
#E14763
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81