#8B2FA8#8B2FA8
#8B2FA8 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.193 H 316.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2FA8 |
|---|---|
| RGB | rgb(139, 47, 168) |
| HSL | hsl(286, 56%, 42%) |
| HSV | hsv(286, 72%, 66%) |
| CMYK | cmyk(17.3%, 72%, 0%, 34.1%) |
| CIE-LAB | lab(38.46, 56.21, -46.97) |
| CIE-LCH | lch(38.46, 73.25, 320.12°) |
| OKLab | oklab(49.43% 0.1406 -0.1321) |
| OKLCH | oklch(49.43% 0.193 316.8) |
| XYZ | xyz(18.7308, 10.3499, 38.0493) |
| Luminance | 0.1035 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.16
Purply
#983FB2
ΔE00 4.48
Barney
#AC1DB8
ΔE00 5.78
Warm Purple
#952E8F
ΔE00 5.82
Darkorchid
#9932CC
ΔE00 5.84
Barney Purple
#A00498
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2FA8 #4CA82F
analogous
#4F2FA8 #8B2FA8 #A82F89
triadic
#8B2FA8 #A88B2F #2FA88B
tetradic
#8B2FA8 #A84F2F #4CA82F #2F89A8
square
#8B2FA8 #A84F2F #4CA82F #2F89A8
split-complementary
#8B2FA8 #89A82F #2FA84F
monochromatic
#3C1448 #632278 #8B2FA8 #AC48CC #C278D9
Accessibility & contrast
On white
6.84
#8B2FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#8B2FA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B2FA8
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2FA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2FA8 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#305DA5
Tritanopia (blue-blind)
#894869
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8b2fa8; /* rgb */ color: rgb(139, 47, 168); /* oklch */ color: oklch(49.4% 0.193 316.8);
Tailwind
colors: {
custom: {
50: '#b170c2',
500: '#8b2fa8',
950: '#000000',
},
}SCSS
$custom: #8b2fa8; $custom-light: #b170c2; $custom-dark: #000000;
JSON
{
"hex": "#8b2fa8",
"rgb": {
"r": 139,
"g": 47,
"b": 168
},
"hsl": {
"h": 285.62,
"s": 56.279,
"l": 42.157
},
"oklch": {
"l": 0.49427,
"c": 0.1929,
"h": 316.8
},
"luminance": 0.10349
}Semantic roles & 50–950 ramp
primary
#8B2FA8
secondary
#85C171
accent
#E0486D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81