#8B2CA3#8B2CA3
#8B2CA3 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.192 H 318.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2CA3 |
|---|---|
| RGB | rgb(139, 44, 163) |
| HSL | hsl(288, 57%, 41%) |
| HSV | hsv(288, 73%, 64%) |
| CMYK | cmyk(14.7%, 73%, 0%, 36.1%) |
| CIE-LAB | lab(37.73, 56.39, -45.16) |
| CIE-LCH | lch(37.73, 72.24, 321.31°) |
| OKLab | oklab(48.8% 0.1441 -0.1267) |
| OKLCH | oklch(48.8% 0.192 318.7) |
| XYZ | xyz(18.1581, 9.9355, 35.6045) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.63
Purply
#983FB2
ΔE00 5.10
Warm Purple
#952E8F
ΔE00 5.12
Barney Purple
#A00498
ΔE00 5.22
Darkmagenta
#8B008B
ΔE00 5.77
Barney
#AC1DB8
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2CA3 #44A32C
analogous
#4F2CA3 #8B2CA3 #A32C7F
triadic
#8B2CA3 #A38B2C #2CA38B
tetradic
#8B2CA3 #A34F2C #44A32C #2C7FA3
square
#8B2CA3 #A34F2C #44A32C #2C7FA3
split-complementary
#8B2CA3 #7FA32C #2CA34F
monochromatic
#391243 #621F73 #8B2CA3 #B041CC #C471D9
Accessibility & contrast
On white
7.03
#8B2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#8B2CA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2CA3
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2CA3 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#335CA0
Tritanopia (blue-blind)
#8B4465
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8b2ca3; /* rgb */ color: rgb(139, 44, 163); /* oklch */ color: oklch(48.8% 0.192 318.7);
Tailwind
colors: {
custom: {
50: '#b16fbf',
500: '#8b2ca3',
950: '#000000',
},
}SCSS
$custom: #8b2ca3; $custom-light: #b16fbf; $custom-dark: #000000;
JSON
{
"hex": "#8b2ca3",
"rgb": {
"r": 139,
"g": 44,
"b": 163
},
"hsl": {
"h": 287.899,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.48798,
"c": 0.19188,
"h": 318.7
},
"luminance": 0.09935
}Semantic roles & 50–950 ramp
primary
#8B2CA3
secondary
#7CC06B
accent
#E14766
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81