#8B2CA7#8B2CA7
#8B2CA7 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.195 H 317.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2CA7 |
|---|---|
| RGB | rgb(139, 44, 167) |
| HSL | hsl(286, 58%, 41%) |
| HSV | hsv(286, 74%, 65%) |
| CMYK | cmyk(16.8%, 73.7%, 0%, 34.5%) |
| CIE-LAB | lab(37.99, 57.18, -47.14) |
| CIE-LCH | lch(37.99, 74.10, 320.50°) |
| OKLab | oklab(49.07% 0.1437 -0.1325) |
| OKLCH | oklch(49.07% 0.195 317.3) |
| XYZ | xyz(18.5222, 10.0811, 37.5219) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.75
Purply
#983FB2
ΔE00 4.91
Barney Purple
#A00498
ΔE00 5.66
Warm Purple
#952E8F
ΔE00 5.74
Barney
#AC1DB8
ΔE00 5.87
Darkorchid
#9932CC
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2CA7 #48A72C
analogous
#4D2CA7 #8B2CA7 #A72C86
triadic
#8B2CA7 #A78B2C #2CA78B
tetradic
#8B2CA7 #A74D2C #48A72C #2C86A7
square
#8B2CA7 #A74D2C #48A72C #2C86A7
split-complementary
#8B2CA7 #86A72C #2CA74D
monochromatic
#3A1246 #631F77 #8B2CA7 #AE43CD #C373DA
Accessibility & contrast
On white
6.96
#8B2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#8B2CA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B2CA7
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2CA7 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#2F5CA4
Tritanopia (blue-blind)
#8A4567
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8b2ca7; /* rgb */ color: rgb(139, 44, 167); /* oklch */ color: oklch(49.1% 0.195 317.3);
Tailwind
colors: {
custom: {
50: '#b16fc2',
500: '#8b2ca7',
950: '#000000',
},
}SCSS
$custom: #8b2ca7; $custom-light: #b16fc2; $custom-dark: #000000;
JSON
{
"hex": "#8b2ca7",
"rgb": {
"r": 139,
"g": 44,
"b": 167
},
"hsl": {
"h": 286.341,
"s": 58.294,
"l": 41.373
},
"oklch": {
"l": 0.49067,
"c": 0.19549,
"h": 317.3
},
"luminance": 0.1008
}Semantic roles & 50–950 ramp
primary
#8B2CA7
secondary
#80C26D
accent
#E2466A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81