#8E2FBE#8E2FBE
#8E2FBE is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.4% C 0.214 H 311.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2FBE |
|---|---|
| RGB | rgb(142, 47, 190) |
| HSL | hsl(280, 60%, 46%) |
| HSV | hsv(280, 75%, 75%) |
| CMYK | cmyk(25.3%, 75.3%, 0%, 25.5%) |
| CIE-LAB | lab(40.41, 61.32, -56.82) |
| CIE-LCH | lch(40.41, 83.60, 317.18°) |
| OKLab | oklab(51.38% 0.1415 -0.1609) |
| OKLCH | oklch(51.38% 0.214 311.3) |
| XYZ | xyz(21.4643, 11.5021, 49.7946) |
| Luminance | 0.1150 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.87
Darkviolet
#9400D3
ΔE00 3.94
Purply
#983FB2
ΔE00 4.58
Blueviolet
#8A2BE2
ΔE00 5.16
Barney
#AC1DB8
ΔE00 5.71
Violet (survey)
#9A0EEA
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2FBE #5FBE2F
analogous
#462FBE #8E2FBE #BE2FA7
triadic
#8E2FBE #BE8E2F #2FBE8E
tetradic
#8E2FBE #BE462F #5FBE2F #2FA7BE
square
#8E2FBE #BE462F #5FBE2F #2FA7BE
split-complementary
#8E2FBE #A7BE2F #2FBE46
monochromatic
#45175C #69238D #8E2FBE #AA55D5 #C386E1
Accessibility & contrast
On white
6.36
#8E2FBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#8E2FBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E2FBE
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2FBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2FBE | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#1361BB
Tritanopia (blue-blind)
#885175
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8e2fbe; /* rgb */ color: rgb(142, 47, 190); /* oklch */ color: oklch(51.4% 0.214 311.3);
Tailwind
colors: {
custom: {
50: '#b471d2',
500: '#8e2fbe',
950: '#000000',
},
}SCSS
$custom: #8e2fbe; $custom-light: #b471d2; $custom-dark: #000000;
JSON
{
"hex": "#8e2fbe",
"rgb": {
"r": 142,
"g": 47,
"b": 190
},
"hsl": {
"h": 279.86,
"s": 60.338,
"l": 46.471
},
"oklch": {
"l": 0.51378,
"c": 0.21424,
"h": 311.3
},
"luminance": 0.11502
}Semantic roles & 50–950 ramp
primary
#8E2FBE
secondary
#98CB7E
accent
#E3447A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83