#8E2BC2#8E2BC2
#8E2BC2 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.3% C 0.222 H 310.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2BC2 |
|---|---|
| RGB | rgb(142, 43, 194) |
| HSL | hsl(279, 64%, 46%) |
| HSV | hsv(279, 78%, 76%) |
| CMYK | cmyk(26.8%, 77.8%, 0%, 23.9%) |
| CIE-LAB | lab(40.20, 63.59, -59.51) |
| CIE-LCH | lch(40.20, 87.09, 316.90°) |
| OKLab | oklab(51.32% 0.1441 -0.1687) |
| OKLCH | oklch(51.32% 0.222 310.5) |
| XYZ | xyz(21.7549, 11.3741, 52.0779) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.90
Darkviolet
#9400D3
ΔE00 3.20
Blueviolet
#8A2BE2
ΔE00 4.60
Violet (survey)
#9A0EEA
ΔE00 5.25
Purply
#983FB2
ΔE00 5.28
Vibrant Purple
#AD03DE
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2BC2 #5FC22B
analogous
#432BC2 #8E2BC2 #C22BAB
triadic
#8E2BC2 #C28E2B #2BC28E
tetradic
#8E2BC2 #C2432B #5FC22B #2BABC2
square
#8E2BC2 #C2432B #5FC22B #2BABC2
split-complementary
#8E2BC2 #ABC22B #2BC243
monochromatic
#45155E #692090 #8E2BC2 #AA52D9 #C384E4
Accessibility & contrast
On white
6.41
#8E2BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#8E2BC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E2BC2
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2BC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2BC2 | 1.00 | 6.41 | 3.27 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#875076
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8e2bc2; /* rgb */ color: rgb(142, 43, 194); /* oklch */ color: oklch(51.3% 0.222 310.5);
Tailwind
colors: {
custom: {
50: '#b470d5',
500: '#8e2bc2',
950: '#000000',
},
}SCSS
$custom: #8e2bc2; $custom-light: #b470d5; $custom-dark: #000000;
JSON
{
"hex": "#8e2bc2",
"rgb": {
"r": 142,
"g": 43,
"b": 194
},
"hsl": {
"h": 279.338,
"s": 63.713,
"l": 46.471
},
"oklch": {
"l": 0.51322,
"c": 0.22193,
"h": 310.5
},
"luminance": 0.11374
}Semantic roles & 50–950 ramp
primary
#8E2BC2
secondary
#98CD7C
accent
#E7417A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83