#8E4FD4#8E4FD4
#8E4FD4 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.6% C 0.197 H 302.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4FD4 |
|---|---|
| RGB | rgb(142, 79, 212) |
| HSL | hsl(268, 61%, 57%) |
| HSV | hsv(268, 63%, 83%) |
| CMYK | cmyk(33%, 62.7%, 0%, 16.9%) |
| CIE-LAB | lab(47.10, 51.89, -58.76) |
| CIE-LCH | lch(47.10, 78.39, 311.45°) |
| OKLab | oklab(56.64% 0.1053 -0.1667) |
| OKLCH | oklch(56.64% 0.197 302.3) |
| XYZ | xyz(25.8322, 16.0962, 64.0205) |
| Luminance | 0.1610 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.42
Lightish Purple
#A552E6
ΔE00 5.01
Darkorchid
#9932CC
ΔE00 5.75
Deep Lavender
#8D5EB7
ΔE00 6.31
Amethyst
#9B5FC0
ΔE00 6.59
Blueviolet
#8A2BE2
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4FD4 #95D44F
analogous
#4F53D4 #8E4FD4 #D14FD4
triadic
#8E4FD4 #D48E4F #4FD48E
tetradic
#8E4FD4 #D44F53 #95D44F #4FD4D1
square
#8E4FD4 #D44F53 #95D44F #4FD4D1
split-complementary
#8E4FD4 #D4D14F #53D44F
monochromatic
#522187 #6F2DB9 #8E4FD4 #AE80E0 #CDB1EC
Accessibility & contrast
On white
4.98
#8E4FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#8E4FD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4FD4
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4FD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4FD4 | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#236FD1
Tritanopia (blue-blind)
#806C8A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8e4fd4; /* rgb */ color: rgb(142, 79, 212); /* oklch */ color: oklch(56.6% 0.197 302.3);
Tailwind
colors: {
custom: {
50: '#b484e2',
500: '#8e4fd4',
950: '#000000',
},
}SCSS
$custom: #8e4fd4; $custom-light: #b484e2; $custom-dark: #000000;
JSON
{
"hex": "#8e4fd4",
"rgb": {
"r": 142,
"g": 79,
"b": 212
},
"hsl": {
"h": 268.421,
"s": 60.731,
"l": 57.059
},
"oklch": {
"l": 0.5664,
"c": 0.19724,
"h": 302.3
},
"luminance": 0.16096
}Semantic roles & 50–950 ramp
primary
#8E4FD4
secondary
#C1DAA4
accent
#E44498
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83