#8E3DBF#8E3DBF
#8E3DBF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.9% C 0.199 H 309.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #8E3DBF |
|---|---|
| RGB | rgb(142, 61, 191) |
| HSL | hsl(277, 52%, 49%) |
| HSV | hsv(277, 68%, 75%) |
| CMYK | cmyk(25.7%, 68.1%, 0%, 25.1%) |
| CIE-LAB | lab(42.54, 55.73, -53.98) |
| CIE-LCH | lch(42.54, 77.59, 315.91°) |
| OKLab | oklab(52.91% 0.1273 -0.1526) |
| OKLCH | oklch(52.91% 0.199 309.8) |
| XYZ | xyz(22.2262, 12.8503, 50.5896) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.58
Purply
#983FB2
ΔE00 3.48
Blueviolet
#8A2BE2
ΔE00 5.50
Darkviolet
#9400D3
ΔE00 5.82
Barney
#AC1DB8
ΔE00 6.22
Vibrant Purple
#AD03DE
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E3DBF #6EBF3D
analogous
#4D3DBF #8E3DBF #BF3DAF
triadic
#8E3DBF #BF8E3D #3DBF8E
tetradic
#8E3DBF #BF4D3D #6EBF3D #3DAFBF
square
#8E3DBF #BF4D3D #6EBF3D #3DAFBF
split-complementary
#8E3DBF #AFBF3D #3DBF4D
monochromatic
#491F62 #6C2E91 #8E3DBF #A96ACF #C498DE
Accessibility & contrast
On white
5.88
#8E3DBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#8E3DBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E3DBF
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E3DBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E3DBF | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#2866BC
Tritanopia (blue-blind)
#875979
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8e3dbf; /* rgb */ color: rgb(142, 61, 191); /* oklch */ color: oklch(52.9% 0.199 309.8);
Tailwind
colors: {
custom: {
50: '#b379d3',
500: '#8e3dbf',
950: '#000000',
},
}SCSS
$custom: #8e3dbf; $custom-light: #b379d3; $custom-dark: #000000;
JSON
{
"hex": "#8e3dbf",
"rgb": {
"r": 142,
"g": 61,
"b": 191
},
"hsl": {
"h": 277.385,
"s": 51.587,
"l": 49.412
},
"oklch": {
"l": 0.5291,
"c": 0.19877,
"h": 309.8
},
"luminance": 0.1285
}Semantic roles & 50–950 ramp
primary
#8E3DBF
secondary
#A5CA8E
accent
#DB4D82
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83