#8B2CA5#8B2CA5
#8B2CA5 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.194 H 318.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2CA5 |
|---|---|
| RGB | rgb(139, 44, 165) |
| HSL | hsl(287, 58%, 41%) |
| HSV | hsv(287, 73%, 65%) |
| CMYK | cmyk(15.8%, 73.3%, 0%, 35.3%) |
| CIE-LAB | lab(37.86, 56.78, -46.15) |
| CIE-LCH | lch(37.86, 73.17, 320.90°) |
| OKLab | oklab(48.93% 0.1439 -0.1296) |
| OKLCH | oklch(48.93% 0.194 318) |
| XYZ | xyz(18.3387, 10.0078, 36.5557) |
| Luminance | 0.1001 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.67
Purply
#983FB2
ΔE00 4.99
Warm Purple
#952E8F
ΔE00 5.43
Barney Purple
#A00498
ΔE00 5.44
Barney
#AC1DB8
ΔE00 5.93
Darkmagenta
#8B008B
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2CA5 #46A52C
analogous
#4E2CA5 #8B2CA5 #A52C82
triadic
#8B2CA5 #A58B2C #2CA58B
tetradic
#8B2CA5 #A54E2C #46A52C #2C82A5
square
#8B2CA5 #A54E2C #46A52C #2C82A5
split-complementary
#8B2CA5 #82A52C #2CA54E
monochromatic
#3A1244 #621F75 #8B2CA5 #AF42CD #C372D9
Accessibility & contrast
On white
7.00
#8B2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#8B2CA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B2CA5
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2CA5 | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#315CA2
Tritanopia (blue-blind)
#8A4566
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8b2ca5; /* rgb */ color: rgb(139, 44, 165); /* oklch */ color: oklch(48.9% 0.194 318.0);
Tailwind
colors: {
custom: {
50: '#b16fc0',
500: '#8b2ca5',
950: '#000000',
},
}SCSS
$custom: #8b2ca5; $custom-light: #b16fc0; $custom-dark: #000000;
JSON
{
"hex": "#8b2ca5",
"rgb": {
"r": 139,
"g": 44,
"b": 165
},
"hsl": {
"h": 287.107,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.48932,
"c": 0.19368,
"h": 318
},
"luminance": 0.10007
}Semantic roles & 50–950 ramp
primary
#8B2CA5
secondary
#7EC16C
accent
#E14768
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81