#8E2BC6#8E2BC6
#8E2BC6 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.6% C 0.226 H 309.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2BC6 |
|---|---|
| RGB | rgb(142, 43, 198) |
| HSL | hsl(278, 64%, 47%) |
| HSV | hsv(278, 78%, 78%) |
| CMYK | cmyk(28.3%, 78.3%, 0%, 22.4%) |
| CIE-LAB | lab(40.50, 64.43, -61.36) |
| CIE-LCH | lch(40.50, 88.97, 316.40°) |
| OKLab | oklab(51.63% 0.1433 -0.1742) |
| OKLCH | oklch(51.63% 0.226 309.4) |
| XYZ | xyz(22.2102, 11.5562, 54.4757) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.68
Darkviolet
#9400D3
ΔE00 2.93
Blueviolet
#8A2BE2
ΔE00 4.01
Violet (survey)
#9A0EEA
ΔE00 4.73
Vibrant Purple
#AD03DE
ΔE00 5.39
Purply
#983FB2
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2BC6 #63C62B
analogous
#412BC6 #8E2BC6 #C62BB0
triadic
#8E2BC6 #C68E2B #2BC68E
tetradic
#8E2BC6 #C6412B #63C62B #2BB0C6
square
#8E2BC6 #C6412B #63C62B #2BB0C6
split-complementary
#8E2BC6 #B0C62B #2BC641
monochromatic
#461561 #6A2094 #8E2BC6 #AA54DA #C387E5
Accessibility & contrast
On white
6.34
#8E2BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#8E2BC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E2BC6
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2BC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2BC6 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#865279
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8e2bc6; /* rgb */ color: rgb(142, 43, 198); /* oklch */ color: oklch(51.6% 0.226 309.4);
Tailwind
colors: {
custom: {
50: '#b470d8',
500: '#8e2bc6',
950: '#000000',
},
}SCSS
$custom: #8e2bc6; $custom-light: #b470d8; $custom-dark: #000000;
JSON
{
"hex": "#8e2bc6",
"rgb": {
"r": 142,
"g": 43,
"b": 198
},
"hsl": {
"h": 278.323,
"s": 64.315,
"l": 47.255
},
"oklch": {
"l": 0.51625,
"c": 0.22555,
"h": 309.4
},
"luminance": 0.11556
}Semantic roles & 50–950 ramp
primary
#8E2BC6
secondary
#9BCE7F
accent
#E7407D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120815
muted
#817B83