#8E43BC#8E43BC
#8E43BC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.4% C 0.188 H 310.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8E43BC |
|---|---|
| RGB | rgb(142, 67, 188) |
| HSL | hsl(277, 47%, 50%) |
| HSV | hsv(277, 64%, 74%) |
| CMYK | cmyk(24.5%, 64.4%, 0%, 26.3%) |
| CIE-LAB | lab(43.35, 52.26, -50.91) |
| CIE-LCH | lch(43.35, 72.96, 315.75°) |
| OKLab | oklab(53.44% 0.1208 -0.1436) |
| OKLCH | oklch(53.44% 0.188 310.1) |
| XYZ | xyz(22.2378, 13.3964, 48.9815) |
| Luminance | 0.1340 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.02
Darkorchid
#9932CC
ΔE00 3.48
Royal Purple
#7851A9
ΔE00 5.86
Blueviolet
#8A2BE2
ΔE00 6.50
Barney
#AC1DB8
ΔE00 6.59
Medium Purple
#9E43A2
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E43BC #71BC43
analogous
#5143BC #8E43BC #BC43AE
triadic
#8E43BC #BC8E43 #43BC8E
tetradic
#8E43BC #BC5143 #71BC43 #43AEBC
square
#8E43BC #BC5143 #71BC43 #43AEBC
split-complementary
#8E43BC #AEBC43 #43BC51
monochromatic
#4A2362 #6C338F #8E43BC #A970CC #C49DDC
Accessibility & contrast
On white
5.71
#8E43BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#8E43BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E43BC
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E43BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E43BC | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#3368B9
Tritanopia (blue-blind)
#885B7A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8e43bc; /* rgb */ color: rgb(142, 67, 188); /* oklch */ color: oklch(53.4% 0.188 310.1);
Tailwind
colors: {
custom: {
50: '#b37cd1',
500: '#8e43bc',
950: '#000000',
},
}SCSS
$custom: #8e43bc; $custom-light: #b37cd1; $custom-dark: #000000;
JSON
{
"hex": "#8e43bc",
"rgb": {
"r": 142,
"g": 67,
"b": 188
},
"hsl": {
"h": 277.19,
"s": 47.451,
"l": 50
},
"oklch": {
"l": 0.53435,
"c": 0.18767,
"h": 310.1
},
"luminance": 0.13396
}Semantic roles & 50–950 ramp
primary
#8E43BC
secondary
#A7C992
accent
#D75184
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82