#8E3BB7#8E3BB7
#8E3BB7 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.1% C 0.193 H 312.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8E3BB7 |
|---|---|
| RGB | rgb(142, 59, 183) |
| HSL | hsl(280, 51%, 47%) |
| HSV | hsv(280, 68%, 72%) |
| CMYK | cmyk(22.4%, 67.8%, 0%, 28.2%) |
| CIE-LAB | lab(41.69, 54.89, -50.66) |
| CIE-LCH | lch(41.69, 74.69, 317.30°) |
| OKLab | oklab(52.13% 0.1303 -0.1429) |
| OKLCH | oklch(52.13% 0.193 312.4) |
| XYZ | xyz(21.2650, 12.2982, 46.0442) |
| Luminance | 0.1230 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.74
Darkorchid
#9932CC
ΔE00 3.36
Barney
#AC1DB8
ΔE00 5.65
Darkviolet
#9400D3
ΔE00 6.10
Medium Purple
#9E43A2
ΔE00 6.44
Blueviolet
#8A2BE2
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E3BB7 #64B73B
analogous
#503BB7 #8E3BB7 #B73BA2
triadic
#8E3BB7 #B78E3B #3BB78E
tetradic
#8E3BB7 #B7503B #64B73B #3BA2B7
square
#8E3BB7 #B7503B #64B73B #3BA2B7
split-complementary
#8E3BB7 #A2B73B #3BB750
monochromatic
#461D5A #6A2C89 #8E3BB7 #AA63CD #C391DC
Accessibility & contrast
On white
6.07
#8E3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#8E3BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E3BB7
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E3BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E3BB7 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#3064B4
Tritanopia (blue-blind)
#895474
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8e3bb7; /* rgb */ color: rgb(142, 59, 183); /* oklch */ color: oklch(52.1% 0.193 312.4);
Tailwind
colors: {
custom: {
50: '#b377cd',
500: '#8e3bb7',
950: '#000000',
},
}SCSS
$custom: #8e3bb7; $custom-light: #b377cd; $custom-dark: #000000;
JSON
{
"hex": "#8e3bb7",
"rgb": {
"r": 142,
"g": 59,
"b": 183
},
"hsl": {
"h": 280.161,
"s": 51.24,
"l": 47.451
},
"oklch": {
"l": 0.52132,
"c": 0.19333,
"h": 312.4
},
"luminance": 0.12298
}Semantic roles & 50–950 ramp
primary
#8E3BB7
secondary
#9CC687
accent
#DB4D7C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82