#8B2CA9#8B2CA9
#8B2CA9 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.197 H 316.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2CA9 |
|---|---|
| RGB | rgb(139, 44, 169) |
| HSL | hsl(286, 59%, 42%) |
| HSV | hsv(286, 74%, 66%) |
| CMYK | cmyk(17.8%, 74%, 0%, 33.7%) |
| CIE-LAB | lab(38.12, 57.57, -48.12) |
| CIE-LCH | lch(38.12, 75.03, 320.11°) |
| OKLab | oklab(49.2% 0.1435 -0.1354) |
| OKLCH | oklch(49.2% 0.197 316.7) |
| XYZ | xyz(18.7085, 10.1557, 38.5032) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.85
Purply
#983FB2
ΔE00 4.85
Barney
#AC1DB8
ΔE00 5.82
Darkorchid
#9932CC
ΔE00 5.85
Barney Purple
#A00498
ΔE00 5.90
Warm Purple
#952E8F
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2CA9 #4AA92C
analogous
#4D2CA9 #8B2CA9 #A92C89
triadic
#8B2CA9 #A98B2C #2CA98B
tetradic
#8B2CA9 #A94D2C #4AA92C #2C89A9
square
#8B2CA9 #A94D2C #4AA92C #2C89A9
split-complementary
#8B2CA9 #89A92C #2CA94D
monochromatic
#3B1348 #631F78 #8B2CA9 #AD44CE #C274DB
Accessibility & contrast
On white
6.93
#8B2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#8B2CA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B2CA9
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2CA9 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#2D5CA6
Tritanopia (blue-blind)
#894668
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #8b2ca9; /* rgb */ color: rgb(139, 44, 169); /* oklch */ color: oklch(49.2% 0.197 316.7);
Tailwind
colors: {
custom: {
50: '#b16fc3',
500: '#8b2ca9',
950: '#000000',
},
}SCSS
$custom: #8b2ca9; $custom-light: #b16fc3; $custom-dark: #000000;
JSON
{
"hex": "#8b2ca9",
"rgb": {
"r": 139,
"g": 44,
"b": 169
},
"hsl": {
"h": 285.6,
"s": 58.685,
"l": 41.765
},
"oklch": {
"l": 0.49204,
"c": 0.19729,
"h": 316.7
},
"luminance": 0.10155
}Semantic roles & 50–950 ramp
primary
#8B2CA9
secondary
#82C36E
accent
#E2466B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82