#8E4FD2#8E4FD2
#8E4FD2 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.5% C 0.195 H 302.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4FD2 |
|---|---|
| RGB | rgb(142, 79, 210) |
| HSL | hsl(269, 59%, 57%) |
| HSV | hsv(269, 62%, 82%) |
| CMYK | cmyk(32.4%, 62.4%, 0%, 17.6%) |
| CIE-LAB | lab(46.97, 51.41, -57.82) |
| CIE-LCH | lch(46.97, 77.37, 311.64°) |
| OKLab | oklab(56.5% 0.1055 -0.164) |
| OKLCH | oklch(56.5% 0.195 302.7) |
| XYZ | xyz(25.5815, 15.9959, 62.7001) |
| Luminance | 0.1600 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.68
Lightish Purple
#A552E6
ΔE00 5.15
Darkorchid
#9932CC
ΔE00 5.65
Deep Lavender
#8D5EB7
ΔE00 6.10
Amethyst
#9B5FC0
ΔE00 6.43
Blueviolet
#8A2BE2
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4FD2 #93D24F
analogous
#4F52D2 #8E4FD2 #D04FD2
triadic
#8E4FD2 #D28E4F #4FD28E
tetradic
#8E4FD2 #D24F52 #93D24F #4FD2D0
square
#8E4FD2 #D24F52 #93D24F #4FD2D0
split-complementary
#8E4FD2 #D2D04F #52D24F
monochromatic
#512285 #6F2EB5 #8E4FD2 #AD80DE #CDB0EB
Accessibility & contrast
On white
5.00
#8E4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#8E4FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4FD2
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4FD2 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#266FCF
Tritanopia (blue-blind)
#816B89
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8e4fd2; /* rgb */ color: rgb(142, 79, 210); /* oklch */ color: oklch(56.5% 0.195 302.7);
Tailwind
colors: {
custom: {
50: '#b384e1',
500: '#8e4fd2',
950: '#000000',
},
}SCSS
$custom: #8e4fd2; $custom-light: #b384e1; $custom-dark: #000000;
JSON
{
"hex": "#8e4fd2",
"rgb": {
"r": 142,
"g": 79,
"b": 210
},
"hsl": {
"h": 268.855,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.56503,
"c": 0.19499,
"h": 302.7
},
"luminance": 0.15996
}Semantic roles & 50–950 ramp
primary
#8E4FD2
secondary
#BFD9A4
accent
#E24597
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83