#8B2CA1#8B2CA1
#8B2CA1 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.190 H 319.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2CA1 |
|---|---|
| RGB | rgb(139, 44, 161) |
| HSL | hsl(289, 57%, 40%) |
| HSV | hsv(289, 73%, 63%) |
| CMYK | cmyk(13.7%, 72.7%, 0%, 36.9%) |
| CIE-LAB | lab(37.60, 56.00, -44.16) |
| CIE-LCH | lch(37.60, 71.32, 321.74°) |
| OKLab | oklab(48.67% 0.1443 -0.1238) |
| OKLCH | oklch(48.67% 0.19 319.4) |
| XYZ | xyz(17.9803, 9.8644, 34.6682) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.63
Warm Purple
#952E8F
ΔE00 4.81
Barney Purple
#A00498
ΔE00 5.02
Purply
#983FB2
ΔE00 5.22
Darkmagenta
#8B008B
ΔE00 5.52
Barney
#AC1DB8
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2CA1 #42A12C
analogous
#512CA1 #8B2CA1 #A12C7C
triadic
#8B2CA1 #A18B2C #2CA18B
tetradic
#8B2CA1 #A1512C #42A12C #2C7CA1
square
#8B2CA1 #A1512C #42A12C #2C7CA1
split-complementary
#8B2CA1 #7CA12C #2CA151
monochromatic
#381241 #621F71 #8B2CA1 #B140CB #C470D8
Accessibility & contrast
On white
7.06
#8B2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#8B2CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2CA1
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2CA1 | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#355C9E
Tritanopia (blue-blind)
#8B4364
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #8b2ca1; /* rgb */ color: rgb(139, 44, 161); /* oklch */ color: oklch(48.7% 0.190 319.4);
Tailwind
colors: {
custom: {
50: '#b06ebd',
500: '#8b2ca1',
950: '#000000',
},
}SCSS
$custom: #8b2ca1; $custom-light: #b06ebd; $custom-dark: #000000;
JSON
{
"hex": "#8b2ca1",
"rgb": {
"r": 139,
"g": 44,
"b": 161
},
"hsl": {
"h": 288.718,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.48665,
"c": 0.1901,
"h": 319.4
},
"luminance": 0.09864
}Semantic roles & 50–950 ramp
primary
#8B2CA1
secondary
#7ABF6A
accent
#E04764
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81