#8E4BCF#8E4BCF
#8E4BCF is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.8% C 0.197 H 304.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4BCF |
|---|---|
| RGB | rgb(142, 75, 207) |
| HSL | hsl(270, 58%, 55%) |
| HSV | hsv(270, 64%, 81%) |
| CMYK | cmyk(31.4%, 63.8%, 0%, 18.8%) |
| CIE-LAB | lab(46.03, 52.71, -57.62) |
| CIE-LCH | lch(46.03, 78.10, 312.45°) |
| OKLab | oklab(55.76% 0.1103 -0.1634) |
| OKLCH | oklch(55.76% 0.197 304) |
| XYZ | xyz(24.9313, 15.2880, 60.6568) |
| Luminance | 0.1529 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.59
Darkorchid
#9932CC
ΔE00 4.66
Lightish Purple
#A552E6
ΔE00 5.82
Blueviolet
#8A2BE2
ΔE00 5.96
Purply
#983FB2
ΔE00 6.12
Deep Lavender
#8D5EB7
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4BCF #8CCF4B
analogous
#4C4BCF #8E4BCF #CF4BCE
triadic
#8E4BCF #CF8E4B #4BCF8E
tetradic
#8E4BCF #CF4C4B #8CCF4B #4BCECF
square
#8E4BCF #CF4C4B #8CCF4B #4BCECF
split-complementary
#8E4BCF #CECF4B #4BCF4C
monochromatic
#51227E #6F2EAE #8E4BCF #AC7BDC #CBACE9
Accessibility & contrast
On white
5.18
#8E4BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#8E4BCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4BCF
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4BCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4BCF | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#246DCC
Tritanopia (blue-blind)
#826786
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8e4bcf; /* rgb */ color: rgb(142, 75, 207); /* oklch */ color: oklch(55.8% 0.197 304.0);
Tailwind
colors: {
custom: {
50: '#b381de',
500: '#8e4bcf',
950: '#000000',
},
}SCSS
$custom: #8e4bcf; $custom-light: #b381de; $custom-dark: #000000;
JSON
{
"hex": "#8e4bcf",
"rgb": {
"r": 142,
"g": 75,
"b": 207
},
"hsl": {
"h": 270.455,
"s": 57.895,
"l": 55.294
},
"oklch": {
"l": 0.55758,
"c": 0.19713,
"h": 304
},
"luminance": 0.15288
}Semantic roles & 50–950 ramp
primary
#8E4BCF
secondary
#BAD69F
accent
#E14793
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83