#8E4FD6#8E4FD6
#8E4FD6 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.8% C 0.199 H 301.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4FD6 |
|---|---|
| RGB | rgb(142, 79, 214) |
| HSL | hsl(268, 62%, 57%) |
| HSV | hsv(268, 63%, 84%) |
| CMYK | cmyk(33.6%, 63.1%, 0%, 16.1%) |
| CIE-LAB | lab(47.23, 52.38, -59.69) |
| CIE-LCH | lch(47.23, 79.41, 311.27°) |
| OKLab | oklab(56.78% 0.1052 -0.1695) |
| OKLCH | oklch(56.78% 0.199 301.8) |
| XYZ | xyz(26.0860, 16.1977, 65.3575) |
| Luminance | 0.1620 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.17
Lightish Purple
#A552E6
ΔE00 4.89
Darkorchid
#9932CC
ΔE00 5.88
Deep Lavender
#8D5EB7
ΔE00 6.53
Blueviolet
#8A2BE2
ΔE00 6.58
Amethyst
#9B5FC0
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4FD6 #97D64F
analogous
#4F54D6 #8E4FD6 #D24FD6
triadic
#8E4FD6 #D68E4F #4FD68E
tetradic
#8E4FD6 #D64F54 #97D64F #4FD6D2
square
#8E4FD6 #D64F54 #97D64F #4FD6D2
split-complementary
#8E4FD6 #D6D24F #54D64F
monochromatic
#52208A #6F2CBC #8E4FD6 #AE81E2 #CEB2ED
Accessibility & contrast
On white
4.95
#8E4FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#8E4FD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4FD6
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4FD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4FD6 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FDA
Deuteranopia (green-blind)
#1F6FD3
Tritanopia (blue-blind)
#7F6C8B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8e4fd6; /* rgb */ color: rgb(142, 79, 214); /* oklch */ color: oklch(56.8% 0.199 301.8);
Tailwind
colors: {
custom: {
50: '#b484e3',
500: '#8e4fd6',
950: '#000000',
},
}SCSS
$custom: #8e4fd6; $custom-light: #b484e3; $custom-dark: #000000;
JSON
{
"hex": "#8e4fd6",
"rgb": {
"r": 142,
"g": 79,
"b": 214
},
"hsl": {
"h": 268,
"s": 62.212,
"l": 57.451
},
"oklch": {
"l": 0.56778,
"c": 0.19948,
"h": 301.8
},
"luminance": 0.16198
}Semantic roles & 50–950 ramp
primary
#8E4FD6
secondary
#C2DCA5
accent
#E54399
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84