#8E3FDE#8E3FDE
#8E3FDE is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.4% C 0.228 H 302.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8E3FDE |
|---|---|
| RGB | rgb(142, 63, 222) |
| HSL | hsl(270, 71%, 56%) |
| HSV | hsv(270, 72%, 87%) |
| CMYK | cmyk(36%, 71.6%, 0%, 12.9%) |
| CIE-LAB | lab(45.05, 61.89, -67.79) |
| CIE-LCH | lch(45.05, 91.79, 312.40°) |
| OKLab | oklab(55.4% 0.1208 -0.1932) |
| OKLCH | oklch(55.4% 0.228 302) |
| XYZ | xyz(26.1145, 14.5796, 70.5314) |
| Luminance | 0.1458 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.31
Darkorchid
#9932CC
ΔE00 4.04
Violet (survey)
#9A0EEA
ΔE00 4.65
Bluish Purple
#703BE7
ΔE00 5.17
Vivid Purple
#9900FA
ΔE00 5.20
Purpley
#8756E4
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E3FDE #8FDE3F
analogous
#3F3FDE #8E3FDE #DD3FDE
triadic
#8E3FDE #DE8E3F #3FDE8E
tetradic
#8E3FDE #DE3F3F #8FDE3F #3FDEDD
square
#8E3FDE #DE3F3F #8FDE3F #3FDEDD
split-complementary
#8E3FDE #DEDD3F #3FDE3F
monochromatic
#51188B #6F21BF #8E3FDE #AD73E7 #CBA7F0
Accessibility & contrast
On white
5.36
#8E3FDE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#8E3FDE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E3FDE
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E3FDE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E3FDE | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069E3
Deuteranopia (green-blind)
#006ADB
Tritanopia (blue-blind)
#7D668B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8e3fde; /* rgb */ color: rgb(142, 63, 222); /* oklch */ color: oklch(55.4% 0.228 302.0);
Tailwind
colors: {
custom: {
50: '#b57be9',
500: '#8e3fde',
950: '#000000',
},
}SCSS
$custom: #8e3fde; $custom-light: #b57be9; $custom-dark: #000000;
JSON
{
"hex": "#8e3fde",
"rgb": {
"r": 142,
"g": 63,
"b": 222
},
"hsl": {
"h": 269.811,
"s": 70.667,
"l": 55.882
},
"oklch": {
"l": 0.55395,
"c": 0.22788,
"h": 302
},
"luminance": 0.1458
}Semantic roles & 50–950 ramp
primary
#8E3FDE
secondary
#BDDD9B
accent
#ED3A94
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84