#8E46BB#8E46BB
#8E46BB is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.8% C 0.182 H 310.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8E46BB |
|---|---|
| RGB | rgb(142, 70, 187) |
| HSL | hsl(277, 46%, 50%) |
| HSV | hsv(277, 63%, 73%) |
| CMYK | cmyk(24.1%, 62.6%, 0%, 26.7%) |
| CIE-LAB | lab(43.83, 50.57, -49.57) |
| CIE-LCH | lch(43.83, 70.81, 315.57°) |
| OKLab | oklab(53.76% 0.1172 -0.1397) |
| OKLCH | oklch(53.76% 0.182 310) |
| XYZ | xyz(22.3134, 13.7194, 48.4767) |
| Luminance | 0.1372 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.05
Darkorchid
#9932CC
ΔE00 4.00
Royal Purple
#7851A9
ΔE00 5.49
Deep Lavender
#8D5EB7
ΔE00 6.36
Medium Purple
#9E43A2
ΔE00 6.51
Barney
#AC1DB8
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E46BB #73BB46
analogous
#5346BB #8E46BB #BB46AD
triadic
#8E46BB #BB8E46 #46BB8E
tetradic
#8E46BB #BB5346 #73BB46 #46ADBB
square
#8E46BB #BB5346 #73BB46 #46ADBB
split-complementary
#8E46BB #ADBB46 #46BB53
monochromatic
#4A2462 #6C358F #8E46BB #A973CB #C5A0DC
Accessibility & contrast
On white
5.61
#8E46BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#8E46BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E46BB
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E46BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E46BB | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D64BF
Deuteranopia (green-blind)
#3769B8
Tritanopia (blue-blind)
#885D7A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8e46bb; /* rgb */ color: rgb(142, 70, 187); /* oklch */ color: oklch(53.8% 0.182 310.0);
Tailwind
colors: {
custom: {
50: '#b27ed0',
500: '#8e46bb',
950: '#000000',
},
}SCSS
$custom: #8e46bb; $custom-light: #b27ed0; $custom-dark: #000000;
JSON
{
"hex": "#8e46bb",
"rgb": {
"r": 142,
"g": 70,
"b": 187
},
"hsl": {
"h": 276.923,
"s": 46.245,
"l": 50.392
},
"oklch": {
"l": 0.53757,
"c": 0.18237,
"h": 310
},
"luminance": 0.13719
}Semantic roles & 50–950 ramp
primary
#8E46BB
secondary
#A8C894
accent
#D65285
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82