#8E4BCD#8E4BCD
#8E4BCD is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.6% C 0.195 H 304.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4BCD |
|---|---|
| RGB | rgb(142, 75, 205) |
| HSL | hsl(271, 57%, 55%) |
| HSV | hsv(271, 63%, 80%) |
| CMYK | cmyk(30.7%, 63.4%, 0%, 19.6%) |
| CIE-LAB | lab(45.89, 52.24, -56.68) |
| CIE-LCH | lch(45.89, 77.08, 312.66°) |
| OKLab | oklab(55.62% 0.1104 -0.1606) |
| OKLCH | oklch(55.62% 0.195 304.5) |
| XYZ | xyz(24.6884, 15.1908, 59.3773) |
| Luminance | 0.1519 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.58
Purpley
#8756E4
ΔE00 4.84
Purply
#983FB2
ΔE00 5.85
Lightish Purple
#A552E6
ΔE00 5.98
Blueviolet
#8A2BE2
ΔE00 6.07
Deep Lavender
#8D5EB7
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4BCD #8ACD4B
analogous
#4D4BCD #8E4BCD #CD4BCB
triadic
#8E4BCD #CD8E4B #4BCD8E
tetradic
#8E4BCD #CD4D4B #8ACD4B #4BCBCD
square
#8E4BCD #CD4D4B #8ACD4B #4BCBCD
split-complementary
#8E4BCD #CBCD4B #4BCD4D
monochromatic
#50227B #6F30AB #8E4BCD #AC7BDA #CAABE8
Accessibility & contrast
On white
5.20
#8E4BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#8E4BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4BCD
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4BCD | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#276DCA
Tritanopia (blue-blind)
#826785
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8e4bcd; /* rgb */ color: rgb(142, 75, 205); /* oklch */ color: oklch(55.6% 0.195 304.5);
Tailwind
colors: {
custom: {
50: '#b381dd',
500: '#8e4bcd',
950: '#000000',
},
}SCSS
$custom: #8e4bcd; $custom-light: #b381dd; $custom-dark: #000000;
JSON
{
"hex": "#8e4bcd",
"rgb": {
"r": 142,
"g": 75,
"b": 205
},
"hsl": {
"h": 270.923,
"s": 56.522,
"l": 54.902
},
"oklch": {
"l": 0.55621,
"c": 0.19492,
"h": 304.5
},
"luminance": 0.15191
}Semantic roles & 50–950 ramp
primary
#8E4BCD
secondary
#B9D59F
accent
#E04892
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83