#8B3CD2#8B3CD2
#8B3CD2 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.8% C 0.218 H 303.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8B3CD2 |
|---|---|
| RGB | rgb(139, 60, 210) |
| HSL | hsl(272, 63%, 53%) |
| HSV | hsv(272, 71%, 82%) |
| CMYK | cmyk(33.8%, 71.4%, 0%, 17.6%) |
| CIE-LAB | lab(43.32, 59.87, -63.74) |
| CIE-LCH | lch(43.32, 87.45, 313.20°) |
| OKLab | oklab(53.81% 0.1217 -0.1814) |
| OKLCH | oklch(53.81% 0.218 303.9) |
| XYZ | xyz(23.8935, 13.3739, 62.2829) |
| Luminance | 0.1337 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.96
Blueviolet
#8A2BE2
ΔE00 3.02
Violet (survey)
#9A0EEA
ΔE00 4.67
Bluish Purple
#703BE7
ΔE00 5.34
Darkviolet
#9400D3
ΔE00 5.37
Vivid Purple
#9900FA
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B3CD2 #83D23C
analogous
#403CD2 #8B3CD2 #D23CCE
triadic
#8B3CD2 #D28B3C #3CD28B
tetradic
#8B3CD2 #D2403C #83D23C #3CCED2
square
#8B3CD2 #D2403C #83D23C #3CCED2
split-complementary
#8B3CD2 #CED23C #3CD240
monochromatic
#4C1C78 #6C27AA #8B3CD2 #A96EDD #C69FE9
Accessibility & contrast
On white
5.71
#8B3CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#8B3CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B3CD2
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B3CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B3CD2 | 1.00 | 5.71 | 3.67 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#7D6083
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8b3cd2; /* rgb */ color: rgb(139, 60, 210); /* oklch */ color: oklch(53.8% 0.218 303.9);
Tailwind
colors: {
custom: {
50: '#b378e1',
500: '#8b3cd2',
950: '#000000',
},
}SCSS
$custom: #8b3cd2; $custom-light: #b378e1; $custom-dark: #000000;
JSON
{
"hex": "#8b3cd2",
"rgb": {
"r": 139,
"g": 60,
"b": 210
},
"hsl": {
"h": 271.6,
"s": 62.5,
"l": 52.941
},
"oklch": {
"l": 0.53807,
"c": 0.21848,
"h": 303.9
},
"luminance": 0.13374
}Semantic roles & 50–950 ramp
primary
#8B3CD2
secondary
#B3D594
accent
#E64290
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83