#8E2FC0#8E2FC0
#8E2FC0 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.5% C 0.216 H 310.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2FC0 |
|---|---|
| RGB | rgb(142, 47, 192) |
| HSL | hsl(279, 61%, 47%) |
| HSV | hsv(279, 76%, 75%) |
| CMYK | cmyk(26%, 75.5%, 0%, 24.7%) |
| CIE-LAB | lab(40.56, 61.74, -57.76) |
| CIE-LCH | lch(40.56, 84.55, 316.91°) |
| OKLab | oklab(51.53% 0.1411 -0.1636) |
| OKLCH | oklch(51.53% 0.216 310.8) |
| XYZ | xyz(21.6844, 11.5901, 50.9538) |
| Luminance | 0.1159 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.70
Darkviolet
#9400D3
ΔE00 3.77
Purply
#983FB2
ΔE00 4.74
Blueviolet
#8A2BE2
ΔE00 4.86
Violet (survey)
#9A0EEA
ΔE00 5.58
Vibrant Purple
#AD03DE
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2FC0 #61C02F
analogous
#452FC0 #8E2FC0 #C02FAA
triadic
#8E2FC0 #C08E2F #2FC08E
tetradic
#8E2FC0 #C0452F #61C02F #2FAAC0
square
#8E2FC0 #C0452F #61C02F #2FAAC0
split-complementary
#8E2FC0 #AAC02F #2FC045
monochromatic
#45175E #6A238F #8E2FC0 #AA56D6 #C388E2
Accessibility & contrast
On white
6.33
#8E2FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#8E2FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E2FC0
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2FC0 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#0C61BD
Tritanopia (blue-blind)
#875176
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8e2fc0; /* rgb */ color: rgb(142, 47, 192); /* oklch */ color: oklch(51.5% 0.216 310.8);
Tailwind
colors: {
custom: {
50: '#b472d4',
500: '#8e2fc0',
950: '#000000',
},
}SCSS
$custom: #8e2fc0; $custom-light: #b472d4; $custom-dark: #000000;
JSON
{
"hex": "#8e2fc0",
"rgb": {
"r": 142,
"g": 47,
"b": 192
},
"hsl": {
"h": 279.31,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.51525,
"c": 0.21609,
"h": 310.8
},
"luminance": 0.1159
}Semantic roles & 50–950 ramp
primary
#8E2FC0
secondary
#9ACB7F
accent
#E4447B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83