#8E3BC2#8E3BC2
#8E3BC2 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.204 H 309.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8E3BC2 |
|---|---|
| RGB | rgb(142, 59, 194) |
| HSL | hsl(277, 53%, 50%) |
| HSV | hsv(277, 70%, 76%) |
| CMYK | cmyk(26.8%, 69.6%, 0%, 23.9%) |
| CIE-LAB | lab(42.42, 57.28, -55.92) |
| CIE-LCH | lch(42.42, 80.05, 315.69°) |
| OKLab | oklab(52.89% 0.1291 -0.1583) |
| OKLCH | oklch(52.89% 0.204 309.2) |
| XYZ | xyz(22.4549, 12.7742, 52.3112) |
| Luminance | 0.1277 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.23
Purply
#983FB2
ΔE00 3.94
Blueviolet
#8A2BE2
ΔE00 4.94
Darkviolet
#9400D3
ΔE00 5.34
Violet (survey)
#9A0EEA
ΔE00 5.97
Vibrant Purple
#AD03DE
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E3BC2 #6FC23B
analogous
#4B3BC2 #8E3BC2 #C23BB3
triadic
#8E3BC2 #C28E3B #3BC28E
tetradic
#8E3BC2 #C24B3B #6FC23B #3BB3C2
square
#8E3BC2 #C24B3B #6FC23B #3BB3C2
split-complementary
#8E3BC2 #B3C23B #3BC24B
monochromatic
#491E64 #6C2D93 #8E3BC2 #A969D1 #C498E0
Accessibility & contrast
On white
5.91
#8E3BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#8E3BC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E3BC2
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E3BC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E3BC2 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#1F65BF
Tritanopia (blue-blind)
#86597A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8e3bc2; /* rgb */ color: rgb(142, 59, 194); /* oklch */ color: oklch(52.9% 0.204 309.2);
Tailwind
colors: {
custom: {
50: '#b378d5',
500: '#8e3bc2',
950: '#000000',
},
}SCSS
$custom: #8e3bc2; $custom-light: #b378d5; $custom-dark: #000000;
JSON
{
"hex": "#8e3bc2",
"rgb": {
"r": 142,
"g": 59,
"b": 194
},
"hsl": {
"h": 276.889,
"s": 53.36,
"l": 49.608
},
"oklch": {
"l": 0.52892,
"c": 0.20429,
"h": 309.2
},
"luminance": 0.12774
}Semantic roles & 50–950 ramp
primary
#8E3BC2
secondary
#A5CB8E
accent
#DD4B83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83