#8B3CA5#8B3CA5
#8B3CA5 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.7% C 0.173 H 316.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8B3CA5 |
|---|---|
| RGB | rgb(139, 60, 165) |
| HSL | hsl(285, 47%, 44%) |
| HSV | hsv(285, 64%, 65%) |
| CMYK | cmyk(15.8%, 63.6%, 0%, 35.3%) |
| CIE-LAB | lab(40.31, 49.92, -42.22) |
| CIE-LCH | lch(40.31, 65.38, 319.78°) |
| OKLab | oklab(50.69% 0.126 -0.1183) |
| OKLCH | oklch(50.69% 0.173 316.8) |
| XYZ | xyz(19.0538, 11.4380, 36.7941) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.10
Medium Purple
#9E43A2
ΔE00 4.96
Warm Purple
#952E8F
ΔE00 5.55
Barney
#AC1DB8
ΔE00 6.17
Darkorchid
#9932CC
ΔE00 6.17
Purple (survey)
#7E1E9C
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B3CA5 #56A53C
analogous
#573CA5 #8B3CA5 #A53C8B
triadic
#8B3CA5 #A58B3C #3CA58B
tetradic
#8B3CA5 #A5573C #56A53C #3C8BA5
square
#8B3CA5 #A5573C #56A53C #3C8BA5
split-complementary
#8B3CA5 #8BA53C #3CA557
monochromatic
#3F1B4B #652C78 #8B3CA5 #A95BC3 #C188D4
Accessibility & contrast
On white
6.39
#8B3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#8B3CA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B3CA5
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B3CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B3CA5 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195AA8
Deuteranopia (green-blind)
#3E61A2
Tritanopia (blue-blind)
#8A4F6B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8b3ca5; /* rgb */ color: rgb(139, 60, 165); /* oklch */ color: oklch(50.7% 0.173 316.8);
Tailwind
colors: {
custom: {
50: '#b077c0',
500: '#8b3ca5',
950: '#000000',
},
}SCSS
$custom: #8b3ca5; $custom-light: #b077c0; $custom-dark: #000000;
JSON
{
"hex": "#8b3ca5",
"rgb": {
"r": 139,
"g": 60,
"b": 165
},
"hsl": {
"h": 285.143,
"s": 46.667,
"l": 44.118
},
"oklch": {
"l": 0.50692,
"c": 0.17283,
"h": 316.8
},
"luminance": 0.11437
}Semantic roles & 50–950 ramp
primary
#8B3CA5
secondary
#8EBE7F
accent
#D65172
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81