#8E2EBF#8E2EBF
#8E2EBF is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.4% C 0.216 H 311.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2EBF |
|---|---|
| RGB | rgb(142, 46, 191) |
| HSL | hsl(280, 61%, 46%) |
| HSV | hsv(280, 76%, 75%) |
| CMYK | cmyk(25.7%, 75.9%, 0%, 25.1%) |
| CIE-LAB | lab(40.36, 61.90, -57.50) |
| CIE-LCH | lch(40.36, 84.49, 317.11°) |
| OKLab | oklab(51.36% 0.1422 -0.1629) |
| OKLCH | oklch(51.36% 0.216 311.1) |
| XYZ | xyz(21.5345, 11.4669, 50.3590) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.86
Darkviolet
#9400D3
ΔE00 3.75
Purply
#983FB2
ΔE00 4.76
Blueviolet
#8A2BE2
ΔE00 5.01
Violet (survey)
#9A0EEA
ΔE00 5.69
Barney
#AC1DB8
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2EBF #5FBF2E
analogous
#462EBF #8E2EBF #BF2EA8
triadic
#8E2EBF #BF8E2E #2EBF8E
tetradic
#8E2EBF #BF462E #5FBF2E #2EA8BF
square
#8E2EBF #BF462E #5FBF2E #2EA8BF
split-complementary
#8E2EBF #A8BF2E #2EBF46
monochromatic
#45165C #69228E #8E2EBF #AA54D6 #C386E2
Accessibility & contrast
On white
6.38
#8E2EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#8E2EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E2EBF
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2EBF | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#0D61BC
Tritanopia (blue-blind)
#885075
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8e2ebf; /* rgb */ color: rgb(142, 46, 191); /* oklch */ color: oklch(51.4% 0.216 311.1);
Tailwind
colors: {
custom: {
50: '#b471d3',
500: '#8e2ebf',
950: '#000000',
},
}SCSS
$custom: #8e2ebf; $custom-light: #b471d3; $custom-dark: #000000;
JSON
{
"hex": "#8e2ebf",
"rgb": {
"r": 142,
"g": 46,
"b": 191
},
"hsl": {
"h": 279.724,
"s": 61.181,
"l": 46.471
},
"oklch": {
"l": 0.5136,
"c": 0.21621,
"h": 311.1
},
"luminance": 0.11466
}Semantic roles & 50–950 ramp
primary
#8E2EBF
secondary
#98CB7E
accent
#E4447A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83