#8E5DE7#8E5DE7
#8E5DE7 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.9% C 0.200 H 296.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8E5DE7 |
|---|---|
| RGB | rgb(142, 93, 231) |
| HSL | hsl(261, 74%, 64%) |
| HSV | hsv(261, 60%, 91%) |
| CMYK | cmyk(38.5%, 59.7%, 0%, 9.4%) |
| CIE-LAB | lab(51.09, 49.30, -63.10) |
| CIE-LCH | lch(51.09, 80.07, 308.00°) |
| OKLab | oklab(59.94% 0.0883 -0.1795) |
| OKLCH | oklch(59.94% 0.2 296.2) |
| XYZ | xyz(29.4898, 19.3485, 77.7667) |
| Luminance | 0.1935 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.39
Lighter Purple
#A55AF4
ΔE00 4.24
Lightish Purple
#A552E6
ΔE00 4.60
Mediumslateblue
#7B68EE
ΔE00 4.85
Mediumpurple
#9370DB
ΔE00 5.66
Light Indigo
#6D5ACF
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E5DE7 #B6E75D
analogous
#5D71E7 #8E5DE7 #D35DE7
triadic
#8E5DE7 #E78E5D #5DE78E
tetradic
#8E5DE7 #E75D71 #B6E75D #5DE7D3
square
#8E5DE7 #E75D71 #B6E75D #5DE7D3
split-complementary
#8E5DE7 #E7D35D #71E75D
monochromatic
#4F1AB0 #6928DF #8E5DE7 #B392EF #D8C8F7
Accessibility & contrast
On white
4.31
#8E5DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#8E5DE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E5DE7
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E5DE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E5DE7 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#1C78E4
Tritanopia (blue-blind)
#787B99
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8e5de7; /* rgb */ color: rgb(142, 93, 231); /* oklch */ color: oklch(59.9% 0.200 296.2);
Tailwind
colors: {
custom: {
50: '#b48def',
500: '#8e5de7',
950: '#000000',
},
}SCSS
$custom: #8e5de7; $custom-light: #b48def; $custom-dark: #000000;
JSON
{
"hex": "#8e5de7",
"rgb": {
"r": 142,
"g": 93,
"b": 231
},
"hsl": {
"h": 261.304,
"s": 74.194,
"l": 63.529
},
"oklch": {
"l": 0.59938,
"c": 0.20007,
"h": 296.2
},
"luminance": 0.19349
}Semantic roles & 50–950 ramp
primary
#8E5DE7
secondary
#D7E8B7
accent
#D60F90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85