#8E2FC5#8E2FC5
#8E2FC5 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.9% C 0.221 H 309.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2FC5 |
|---|---|
| RGB | rgb(142, 47, 197) |
| HSL | hsl(278, 61%, 48%) |
| HSV | hsv(278, 76%, 77%) |
| CMYK | cmyk(27.9%, 76.1%, 0%, 22.7%) |
| CIE-LAB | lab(40.92, 62.79, -60.09) |
| CIE-LCH | lch(40.92, 86.91, 316.26°) |
| OKLab | oklab(51.9% 0.1402 -0.1705) |
| OKLCH | oklch(51.9% 0.221 309.4) |
| XYZ | xyz(22.2479, 11.8155, 53.9211) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.37
Darkviolet
#9400D3
ΔE00 3.45
Blueviolet
#8A2BE2
ΔE00 4.11
Violet (survey)
#9A0EEA
ΔE00 4.93
Purply
#983FB2
ΔE00 5.16
Vibrant Purple
#AD03DE
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2FC5 #66C52F
analogous
#432FC5 #8E2FC5 #C52FB1
triadic
#8E2FC5 #C58E2F #2FC58E
tetradic
#8E2FC5 #C5432F #66C52F #2FB1C5
square
#8E2FC5 #C5432F #66C52F #2FB1C5
split-complementary
#8E2FC5 #B1C52F #2FC543
monochromatic
#471762 #6A2394 #8E2FC5 #A95AD8 #C38BE3
Accessibility & contrast
On white
6.24
#8E2FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#8E2FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E2FC5
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2FC5 | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#865479
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8e2fc5; /* rgb */ color: rgb(142, 47, 197); /* oklch */ color: oklch(51.9% 0.221 309.4);
Tailwind
colors: {
custom: {
50: '#b472d7',
500: '#8e2fc5',
950: '#000000',
},
}SCSS
$custom: #8e2fc5; $custom-light: #b472d7; $custom-dark: #000000;
JSON
{
"hex": "#8e2fc5",
"rgb": {
"r": 142,
"g": 47,
"b": 197
},
"hsl": {
"h": 278,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.51896,
"c": 0.22071,
"h": 309.4
},
"luminance": 0.11815
}Semantic roles & 50–950 ramp
primary
#8E2FC5
secondary
#9ECD82
accent
#E5437E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120815
muted
#817B83