#8B2CA6#8B2CA6
#8B2CA6 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.195 H 317.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2CA6 |
|---|---|
| RGB | rgb(139, 44, 166) |
| HSL | hsl(287, 58%, 41%) |
| HSV | hsv(287, 73%, 65%) |
| CMYK | cmyk(16.3%, 73.5%, 0%, 34.9%) |
| CIE-LAB | lab(37.92, 56.98, -46.64) |
| CIE-LCH | lch(37.92, 73.64, 320.70°) |
| OKLab | oklab(49% 0.1438 -0.1311) |
| OKLCH | oklch(49% 0.195 317.6) |
| XYZ | xyz(18.4301, 10.0443, 37.0369) |
| Luminance | 0.1004 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.70
Purply
#983FB2
ΔE00 4.95
Barney Purple
#A00498
ΔE00 5.55
Warm Purple
#952E8F
ΔE00 5.59
Barney
#AC1DB8
ΔE00 5.90
Darkmagenta
#8B008B
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2CA6 #47A62C
analogous
#4E2CA6 #8B2CA6 #A62C84
triadic
#8B2CA6 #A68B2C #2CA68B
tetradic
#8B2CA6 #A64E2C #47A62C #2C84A6
square
#8B2CA6 #A64E2C #47A62C #2C84A6
split-complementary
#8B2CA6 #84A62C #2CA64E
monochromatic
#3A1245 #621F76 #8B2CA6 #AE42CD #C373DA
Accessibility & contrast
On white
6.98
#8B2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#8B2CA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B2CA6
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2CA6 | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#305CA3
Tritanopia (blue-blind)
#8A4567
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8b2ca6; /* rgb */ color: rgb(139, 44, 166); /* oklch */ color: oklch(49.0% 0.195 317.6);
Tailwind
colors: {
custom: {
50: '#b16fc1',
500: '#8b2ca6',
950: '#000000',
},
}SCSS
$custom: #8b2ca6; $custom-light: #b16fc1; $custom-dark: #000000;
JSON
{
"hex": "#8b2ca6",
"rgb": {
"r": 139,
"g": 44,
"b": 166
},
"hsl": {
"h": 286.721,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.48999,
"c": 0.19458,
"h": 317.6
},
"luminance": 0.10044
}Semantic roles & 50–950 ramp
primary
#8B2CA6
secondary
#7FC16D
accent
#E14669
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81