#8B2CA4#8B2CA4
#8B2CA4 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.193 H 318.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2CA4 |
|---|---|
| RGB | rgb(139, 44, 164) |
| HSL | hsl(288, 58%, 41%) |
| HSV | hsv(288, 73%, 64%) |
| CMYK | cmyk(15.2%, 73.2%, 0%, 35.7%) |
| CIE-LAB | lab(37.79, 56.59, -45.65) |
| CIE-LCH | lch(37.79, 72.71, 321.10°) |
| OKLab | oklab(48.86% 0.144 -0.1282) |
| OKLCH | oklch(48.86% 0.193 318.3) |
| XYZ | xyz(18.2481, 9.9715, 36.0782) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.65
Purply
#983FB2
ΔE00 5.04
Warm Purple
#952E8F
ΔE00 5.28
Barney Purple
#A00498
ΔE00 5.33
Darkmagenta
#8B008B
ΔE00 5.89
Barney
#AC1DB8
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2CA4 #45A42C
analogous
#4F2CA4 #8B2CA4 #A42C81
triadic
#8B2CA4 #A48B2C #2CA48B
tetradic
#8B2CA4 #A44F2C #45A42C #2C81A4
square
#8B2CA4 #A44F2C #45A42C #2C81A4
split-complementary
#8B2CA4 #81A42C #2CA44F
monochromatic
#391243 #621F74 #8B2CA4 #AF41CC #C371D9
Accessibility & contrast
On white
7.01
#8B2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#8B2CA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2CA4
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2CA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2CA4 | 1.00 | 7.01 | 2.99 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#325CA1
Tritanopia (blue-blind)
#8A4465
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8b2ca4; /* rgb */ color: rgb(139, 44, 164); /* oklch */ color: oklch(48.9% 0.193 318.3);
Tailwind
colors: {
custom: {
50: '#b16fc0',
500: '#8b2ca4',
950: '#000000',
},
}SCSS
$custom: #8b2ca4; $custom-light: #b16fc0; $custom-dark: #000000;
JSON
{
"hex": "#8b2ca4",
"rgb": {
"r": 139,
"g": 44,
"b": 164
},
"hsl": {
"h": 287.5,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.48865,
"c": 0.19279,
"h": 318.3
},
"luminance": 0.09971
}Semantic roles & 50–950 ramp
primary
#8B2CA4
secondary
#7DC06B
accent
#E14767
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81