#8E4FD1#8E4FD1
#8E4FD1 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.4% C 0.194 H 303.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4FD1 |
|---|---|
| RGB | rgb(142, 79, 209) |
| HSL | hsl(269, 59%, 56%) |
| HSV | hsv(269, 62%, 82%) |
| CMYK | cmyk(32.1%, 62.2%, 0%, 18%) |
| CIE-LAB | lab(46.90, 51.16, -57.36) |
| CIE-LCH | lch(46.90, 76.86, 311.73°) |
| OKLab | oklab(56.44% 0.1055 -0.1626) |
| OKLCH | oklch(56.44% 0.194 303) |
| XYZ | xyz(25.4573, 15.9462, 62.0460) |
| Luminance | 0.1595 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.81
Lightish Purple
#A552E6
ΔE00 5.22
Darkorchid
#9932CC
ΔE00 5.60
Deep Lavender
#8D5EB7
ΔE00 5.99
Amethyst
#9B5FC0
ΔE00 6.36
Blueviolet
#8A2BE2
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4FD1 #92D14F
analogous
#4F51D1 #8E4FD1 #CF4FD1
triadic
#8E4FD1 #D18E4F #4FD18E
tetradic
#8E4FD1 #D14F51 #92D14F #4FD1CF
square
#8E4FD1 #D14F51 #92D14F #4FD1CF
split-complementary
#8E4FD1 #D1CF4F #51D14F
monochromatic
#512283 #6F2FB4 #8E4FD1 #AD80DE #CCB0EA
Accessibility & contrast
On white
5.01
#8E4FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#8E4FD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4FD1
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4FD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4FD1 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#286FCE
Tritanopia (blue-blind)
#816B89
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8e4fd1; /* rgb */ color: rgb(142, 79, 209); /* oklch */ color: oklch(56.4% 0.194 303.0);
Tailwind
colors: {
custom: {
50: '#b384e0',
500: '#8e4fd1',
950: '#000000',
},
}SCSS
$custom: #8e4fd1; $custom-light: #b384e0; $custom-dark: #000000;
JSON
{
"hex": "#8e4fd1",
"rgb": {
"r": 142,
"g": 79,
"b": 209
},
"hsl": {
"h": 269.077,
"s": 58.559,
"l": 56.471
},
"oklch": {
"l": 0.56435,
"c": 0.19386,
"h": 303
},
"luminance": 0.15946
}Semantic roles & 50–950 ramp
primary
#8E4FD1
secondary
#BFD9A3
accent
#E24696
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83