#8E4FDA#8E4FDA
#8E4FDA is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.204 H 301.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4FDA |
|---|---|
| RGB | rgb(142, 79, 218) |
| HSL | hsl(267, 65%, 58%) |
| HSV | hsv(267, 64%, 85%) |
| CMYK | cmyk(34.9%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(47.50, 53.36, -61.54) |
| CIE-LCH | lch(47.50, 81.45, 310.93°) |
| OKLab | oklab(57.06% 0.1049 -0.1749) |
| OKLCH | oklch(57.06% 0.204 301) |
| XYZ | xyz(26.6032, 16.4045, 68.0809) |
| Luminance | 0.1641 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.71
Lightish Purple
#A552E6
ΔE00 4.69
Darkorchid
#9932CC
ΔE00 6.15
Lighter Purple
#A55AF4
ΔE00 6.53
Blueviolet
#8A2BE2
ΔE00 6.55
Light Indigo
#6D5ACF
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4FDA #9BDA4F
analogous
#4F55DA #8E4FDA #D34FDA
triadic
#8E4FDA #DA8E4F #4FDA8E
tetradic
#8E4FDA #DA4F55 #9BDA4F #4FDAD3
square
#8E4FDA #DA4F55 #9BDA4F #4FDAD3
split-complementary
#8E4FDA #DAD34F #55DA4F
monochromatic
#521E90 #6F29C3 #8E4FDA #AE82E5 #CFB4EF
Accessibility & contrast
On white
4.91
#8E4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#8E4FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4FDA
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4FDA | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#1470D7
Tritanopia (blue-blind)
#7E6E8D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8e4fda; /* rgb */ color: rgb(142, 79, 218); /* oklch */ color: oklch(57.1% 0.204 301.0);
Tailwind
colors: {
custom: {
50: '#b484e6',
500: '#8e4fda',
950: '#000000',
},
}SCSS
$custom: #8e4fda; $custom-light: #b484e6; $custom-dark: #000000;
JSON
{
"hex": "#8e4fda",
"rgb": {
"r": 142,
"g": 79,
"b": 218
},
"hsl": {
"h": 267.194,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.57057,
"c": 0.20396,
"h": 301
},
"luminance": 0.16405
}Semantic roles & 50–950 ramp
primary
#8E4FDA
secondary
#C5DEA7
accent
#E8409C
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84