#8B2CA2#8B2CA2
#8B2CA2 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.191 H 319.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2CA2 |
|---|---|
| RGB | rgb(139, 44, 162) |
| HSL | hsl(288, 57%, 40%) |
| HSV | hsv(288, 73%, 64%) |
| CMYK | cmyk(14.2%, 72.8%, 0%, 36.5%) |
| CIE-LAB | lab(37.66, 56.20, -44.66) |
| CIE-LCH | lch(37.66, 71.78, 321.53°) |
| OKLab | oklab(48.73% 0.1442 -0.1253) |
| OKLCH | oklch(48.73% 0.191 319) |
| XYZ | xyz(18.0689, 9.8998, 35.1345) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.63
Warm Purple
#952E8F
ΔE00 4.96
Barney Purple
#A00498
ΔE00 5.12
Purply
#983FB2
ΔE00 5.16
Darkmagenta
#8B008B
ΔE00 5.65
Barney
#AC1DB8
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2CA2 #43A22C
analogous
#502CA2 #8B2CA2 #A22C7E
triadic
#8B2CA2 #A28B2C #2CA28B
tetradic
#8B2CA2 #A2502C #43A22C #2C7EA2
square
#8B2CA2 #A2502C #43A22C #2C7EA2
split-complementary
#8B2CA2 #7EA22C #2CA250
monochromatic
#381242 #621F72 #8B2CA2 #B040CB #C470D8
Accessibility & contrast
On white
7.05
#8B2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#8B2CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2CA2
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2CA2 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#345C9F
Tritanopia (blue-blind)
#8B4364
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8b2ca2; /* rgb */ color: rgb(139, 44, 162); /* oklch */ color: oklch(48.7% 0.191 319.0);
Tailwind
colors: {
custom: {
50: '#b06fbe',
500: '#8b2ca2',
950: '#000000',
},
}SCSS
$custom: #8b2ca2; $custom-light: #b06fbe; $custom-dark: #000000;
JSON
{
"hex": "#8b2ca2",
"rgb": {
"r": 139,
"g": 44,
"b": 162
},
"hsl": {
"h": 288.305,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.48731,
"c": 0.191,
"h": 319
},
"luminance": 0.09899
}Semantic roles & 50–950 ramp
primary
#8B2CA2
secondary
#7BBF6A
accent
#E14765
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81