#8B2FAE#8B2FAE
#8B2FAE is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.198 H 314.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2FAE |
|---|---|
| RGB | rgb(139, 47, 174) |
| HSL | hsl(283, 57%, 43%) |
| HSV | hsv(283, 73%, 68%) |
| CMYK | cmyk(20.1%, 73%, 0%, 31.8%) |
| CIE-LAB | lab(38.86, 57.43, -49.91) |
| CIE-LCH | lch(38.86, 76.08, 319.01°) |
| OKLab | oklab(49.84% 0.14 -0.1407) |
| OKLCH | oklch(49.84% 0.198 314.9) |
| XYZ | xyz(19.3027, 10.5787, 41.0613) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.39
Purple (survey)
#7E1E9C
ΔE00 4.56
Darkorchid
#9932CC
ΔE00 5.00
Darkviolet
#9400D3
ΔE00 5.71
Barney
#AC1DB8
ΔE00 5.73
Barney Purple
#A00498
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2FAE #52AE2F
analogous
#4C2FAE #8B2FAE #AE2F91
triadic
#8B2FAE #AE8B2F #2FAE8B
tetradic
#8B2FAE #AE4C2F #52AE2F #2F91AE
square
#8B2FAE #AE4C2F #52AE2F #2F91AE
split-complementary
#8B2FAE #91AE2F #2FAE4C
monochromatic
#3E154E #65227E #8B2FAE #AA4CCF #C17CDC
Accessibility & contrast
On white
6.74
#8B2FAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#8B2FAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B2FAE
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2FAE | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#2A5EAB
Tritanopia (blue-blind)
#884A6C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8b2fae; /* rgb */ color: rgb(139, 47, 174); /* oklch */ color: oklch(49.8% 0.198 314.9);
Tailwind
colors: {
custom: {
50: '#b170c7',
500: '#8b2fae',
950: '#000000',
},
}SCSS
$custom: #8b2fae; $custom-light: #b170c7; $custom-dark: #000000;
JSON
{
"hex": "#8b2fae",
"rgb": {
"r": 139,
"g": 47,
"b": 174
},
"hsl": {
"h": 283.465,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.49837,
"c": 0.19844,
"h": 314.9
},
"luminance": 0.10578
}Semantic roles & 50–950 ramp
primary
#8B2FAE
secondary
#8BC475
accent
#E14771
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82