#8B2BB5#8B2BB5
#8B2BB5 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.209 H 313.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2BB5 |
|---|---|
| RGB | rgb(139, 43, 181) |
| HSL | hsl(282, 62%, 44%) |
| HSV | hsv(282, 76%, 71%) |
| CMYK | cmyk(23.2%, 76.2%, 0%, 29%) |
| CIE-LAB | lab(38.82, 60.37, -54.13) |
| CIE-LCH | lch(38.82, 81.08, 318.12°) |
| OKLab | oklab(49.96% 0.1427 -0.153) |
| OKLCH | oklch(49.96% 0.209 313) |
| XYZ | xyz(19.8503, 10.5535, 44.6985) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.41
Darkviolet
#9400D3
ΔE00 4.52
Purple (survey)
#7E1E9C
ΔE00 4.86
Purply
#983FB2
ΔE00 5.02
Barney
#AC1DB8
ΔE00 5.93
Blueviolet
#8A2BE2
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2BB5 #55B52B
analogous
#462BB5 #8B2BB5 #B52B9A
triadic
#8B2BB5 #B58B2B #2BB58B
tetradic
#8B2BB5 #B5462B #55B52B #2B9AB5
square
#8B2BB5 #B5462B #55B52B #2B9AB5
split-complementary
#8B2BB5 #9AB52B #2BB546
monochromatic
#3F1452 #651F84 #8B2BB5 #AA49D4 #C17BE0
Accessibility & contrast
On white
6.75
#8B2BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#8B2BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B2BB5
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2BB5 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#1A5DB2
Tritanopia (blue-blind)
#864B6F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8b2bb5; /* rgb */ color: rgb(139, 43, 181); /* oklch */ color: oklch(50.0% 0.209 313.0);
Tailwind
colors: {
custom: {
50: '#b16fcc',
500: '#8b2bb5',
950: '#000000',
},
}SCSS
$custom: #8b2bb5; $custom-light: #b16fcc; $custom-dark: #000000;
JSON
{
"hex": "#8b2bb5",
"rgb": {
"r": 139,
"g": 43,
"b": 181
},
"hsl": {
"h": 281.739,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.4996,
"c": 0.20925,
"h": 313
},
"luminance": 0.10553
}Semantic roles & 50–950 ramp
primary
#8B2BB5
secondary
#8EC874
accent
#E54374
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82