#8E4EBF#8E4EBF
#8E4EBF is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.175 H 307.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4EBF |
|---|---|
| RGB | rgb(142, 78, 191) |
| HSL | hsl(274, 47%, 53%) |
| HSV | hsv(274, 59%, 75%) |
| CMYK | cmyk(25.7%, 59.2%, 0%, 25.1%) |
| CIE-LAB | lab(45.58, 47.41, -49.09) |
| CIE-LCH | lch(45.58, 68.24, 314.00°) |
| OKLab | oklab(55.11% 0.1072 -0.1384) |
| OKLCH | oklch(55.11% 0.175 307.8) |
| XYZ | xyz(23.2818, 14.9615, 50.9415) |
| Luminance | 0.1496 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.49
Deep Lavender
#8D5EB7
ΔE00 4.66
Royal Purple
#7851A9
ΔE00 5.24
Darkorchid
#9932CC
ΔE00 5.29
Amethyst
#9B5FC0
ΔE00 5.63
Purpley
#8756E4
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4EBF #7FBF4E
analogous
#554EBF #8E4EBF #BF4EB8
triadic
#8E4EBF #BF8E4E #4EBF8E
tetradic
#8E4EBF #BF554E #7FBF4E #4EB8BF
square
#8E4EBF #BF554E #7FBF4E #4EB8BF
split-complementary
#8E4EBF #B8BF4E #4EBF55
monochromatic
#4E276C #6E3799 #8E4EBF #AB7BCF #C7A8E0
Accessibility & contrast
On white
5.26
#8E4EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#8E4EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4EBF
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4EBF | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2069C3
Deuteranopia (green-blind)
#3D6DBC
Tritanopia (blue-blind)
#87647F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8e4ebf; /* rgb */ color: rgb(142, 78, 191); /* oklch */ color: oklch(55.1% 0.175 307.8);
Tailwind
colors: {
custom: {
50: '#b283d3',
500: '#8e4ebf',
950: '#000000',
},
}SCSS
$custom: #8e4ebf; $custom-light: #b283d3; $custom-dark: #000000;
JSON
{
"hex": "#8e4ebf",
"rgb": {
"r": 142,
"g": 78,
"b": 191
},
"hsl": {
"h": 273.982,
"s": 46.888,
"l": 52.745
},
"oklch": {
"l": 0.55111,
"c": 0.17505,
"h": 307.8
},
"luminance": 0.14961
}Semantic roles & 50–950 ramp
primary
#8E4EBF
secondary
#B1CD9C
accent
#D7518B
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83