#8E49DB#8E49DB
#8E49DB is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.213 H 301.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8E49DB |
|---|---|
| RGB | rgb(142, 73, 219) |
| HSL | hsl(268, 67%, 57%) |
| HSV | hsv(268, 67%, 86%) |
| CMYK | cmyk(35.2%, 66.7%, 0%, 14.1%) |
| CIE-LAB | lab(46.49, 56.57, -63.75) |
| CIE-LCH | lch(46.49, 85.23, 311.59°) |
| OKLab | oklab(56.35% 0.1113 -0.1814) |
| OKLCH | oklch(56.35% 0.213 301.5) |
| XYZ | xyz(26.3210, 15.6302, 68.6343) |
| Luminance | 0.1563 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.62
Darkorchid
#9932CC
ΔE00 5.10
Blueviolet
#8A2BE2
ΔE00 5.24
Lightish Purple
#A552E6
ΔE00 5.36
Bluish Purple
#703BE7
ΔE00 6.22
Electric Purple
#AA23FF
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E49DB #96DB49
analogous
#494DDB #8E49DB #D749DB
triadic
#8E49DB #DB8E49 #49DB8E
tetradic
#8E49DB #DB494D #96DB49 #49DBD7
square
#8E49DB #DB494D #96DB49 #49DBD7
split-complementary
#8E49DB #DBD749 #4DDB49
monochromatic
#521C8E #6F26C1 #8E49DB #AE7CE5 #CDAFEF
Accessibility & contrast
On white
5.09
#8E49DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#8E49DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E49DB
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E49DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E49DB | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#7E6A8C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8e49db; /* rgb */ color: rgb(142, 73, 219); /* oklch */ color: oklch(56.3% 0.213 301.5);
Tailwind
colors: {
custom: {
50: '#b480e7',
500: '#8e49db',
950: '#000000',
},
}SCSS
$custom: #8e49db; $custom-light: #b480e7; $custom-dark: #000000;
JSON
{
"hex": "#8e49db",
"rgb": {
"r": 142,
"g": 73,
"b": 219
},
"hsl": {
"h": 268.356,
"s": 66.972,
"l": 57.255
},
"oklch": {
"l": 0.56348,
"c": 0.21283,
"h": 301.5
},
"luminance": 0.1563
}Semantic roles & 50–950 ramp
primary
#8E49DB
secondary
#C2DDA2
accent
#EA3E99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84