#8E4FD5#8E4FD5
#8E4FD5 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.7% C 0.198 H 302.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4FD5 |
|---|---|
| RGB | rgb(142, 79, 213) |
| HSL | hsl(268, 61%, 57%) |
| HSV | hsv(268, 63%, 84%) |
| CMYK | cmyk(33.3%, 62.9%, 0%, 16.5%) |
| CIE-LAB | lab(47.17, 52.13, -59.22) |
| CIE-LCH | lch(47.17, 78.90, 311.36°) |
| OKLab | oklab(56.71% 0.1053 -0.1681) |
| OKLCH | oklch(56.71% 0.198 302.1) |
| XYZ | xyz(25.9587, 16.1468, 64.6869) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.29
Lightish Purple
#A552E6
ΔE00 4.95
Darkorchid
#9932CC
ΔE00 5.81
Deep Lavender
#8D5EB7
ΔE00 6.42
Blueviolet
#8A2BE2
ΔE00 6.60
Amethyst
#9B5FC0
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4FD5 #96D54F
analogous
#4F53D5 #8E4FD5 #D14FD5
triadic
#8E4FD5 #D58E4F #4FD58E
tetradic
#8E4FD5 #D54F53 #96D54F #4FD5D1
square
#8E4FD5 #D54F53 #96D54F #4FD5D1
split-complementary
#8E4FD5 #D5D14F #53D54F
monochromatic
#522189 #6F2CBA #8E4FD5 #AE80E1 #CDB2ED
Accessibility & contrast
On white
4.97
#8E4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#8E4FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4FD5
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4FD5 | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#216FD2
Tritanopia (blue-blind)
#806C8B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8e4fd5; /* rgb */ color: rgb(142, 79, 213); /* oklch */ color: oklch(56.7% 0.198 302.1);
Tailwind
colors: {
custom: {
50: '#b484e3',
500: '#8e4fd5',
950: '#000000',
},
}SCSS
$custom: #8e4fd5; $custom-light: #b484e3; $custom-dark: #000000;
JSON
{
"hex": "#8e4fd5",
"rgb": {
"r": 142,
"g": 79,
"b": 213
},
"hsl": {
"h": 268.209,
"s": 61.468,
"l": 57.255
},
"oklch": {
"l": 0.56709,
"c": 0.19836,
"h": 302.1
},
"luminance": 0.16147
}Semantic roles & 50–950 ramp
primary
#8E4FD5
secondary
#C2DBA5
accent
#E54399
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B15
muted
#817C84