#8B3CB7#8B3CB7
#8B3CB7 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.9% C 0.191 H 311.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8B3CB7 |
|---|---|
| RGB | rgb(139, 60, 183) |
| HSL | hsl(279, 51%, 48%) |
| HSV | hsv(279, 67%, 72%) |
| CMYK | cmyk(24%, 67.2%, 0%, 28.2%) |
| CIE-LAB | lab(41.44, 53.77, -51.08) |
| CIE-LCH | lch(41.44, 74.17, 316.47°) |
| OKLab | oklab(51.87% 0.1253 -0.1442) |
| OKLCH | oklch(51.87% 0.191 311) |
| XYZ | xyz(20.8090, 12.1401, 46.0376) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.23
Darkorchid
#9932CC
ΔE00 3.59
Darkviolet
#9400D3
ΔE00 6.14
Barney
#AC1DB8
ΔE00 6.21
Royal Purple
#7851A9
ΔE00 6.32
Blueviolet
#8A2BE2
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B3CB7 #68B73C
analogous
#4E3CB7 #8B3CB7 #B73CA5
triadic
#8B3CB7 #B78B3C #3CB78B
tetradic
#8B3CB7 #B74E3C #68B73C #3CA5B7
square
#8B3CB7 #B74E3C #68B73C #3CA5B7
split-complementary
#8B3CB7 #A5B73C #3CB74E
monochromatic
#451E5B #682D89 #8B3CB7 #A764CC #C192DB
Accessibility & contrast
On white
6.13
#8B3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#8B3CB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B3CB7
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B3CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B3CB7 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#2D63B4
Tritanopia (blue-blind)
#855575
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8b3cb7; /* rgb */ color: rgb(139, 60, 183); /* oklch */ color: oklch(51.9% 0.191 311.0);
Tailwind
colors: {
custom: {
50: '#b177cd',
500: '#8b3cb7',
950: '#000000',
},
}SCSS
$custom: #8b3cb7; $custom-light: #b177cd; $custom-dark: #000000;
JSON
{
"hex": "#8b3cb7",
"rgb": {
"r": 139,
"g": 60,
"b": 183
},
"hsl": {
"h": 278.537,
"s": 50.617,
"l": 47.647
},
"oklch": {
"l": 0.51868,
"c": 0.19101,
"h": 311
},
"luminance": 0.1214
}Semantic roles & 50–950 ramp
primary
#8B3CB7
secondary
#9FC688
accent
#DA4E80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82