#8F2EC8#8F2EC8
#8F2EC8 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.2% C 0.225 H 309.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2EC8 |
|---|---|
| RGB | rgb(143, 46, 200) |
| HSL | hsl(278, 63%, 48%) |
| HSV | hsv(278, 77%, 78%) |
| CMYK | cmyk(28.5%, 77%, 0%, 21.6%) |
| CIE-LAB | lab(41.16, 63.97, -61.45) |
| CIE-LCH | lch(41.16, 88.70, 316.15°) |
| OKLab | oklab(52.16% 0.1417 -0.1744) |
| OKLCH | oklch(52.16% 0.225 309.1) |
| XYZ | xyz(22.7279, 11.9642, 55.7444) |
| Luminance | 0.1196 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.18
Darkviolet
#9400D3
ΔE00 3.23
Blueviolet
#8A2BE2
ΔE00 3.74
Violet (survey)
#9A0EEA
ΔE00 4.51
Vibrant Purple
#AD03DE
ΔE00 5.12
Purply
#983FB2
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2EC8 #67C82E
analogous
#422EC8 #8F2EC8 #C82EB4
triadic
#8F2EC8 #C88F2E #2EC88F
tetradic
#8F2EC8 #C8422E #67C82E #2EB4C8
square
#8F2EC8 #C8422E #67C82E #2EB4C8
split-complementary
#8F2EC8 #B4C82E #2EC842
monochromatic
#481764 #6B2396 #8F2EC8 #AA5AD9 #C48CE5
Accessibility & contrast
On white
6.19
#8F2EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#8F2EC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F2EC8
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2EC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2EC8 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#86547A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8f2ec8; /* rgb */ color: rgb(143, 46, 200); /* oklch */ color: oklch(52.2% 0.225 309.1);
Tailwind
colors: {
custom: {
50: '#b572da',
500: '#8f2ec8',
950: '#000000',
},
}SCSS
$custom: #8f2ec8; $custom-light: #b572da; $custom-dark: #000000;
JSON
{
"hex": "#8f2ec8",
"rgb": {
"r": 143,
"g": 46,
"b": 200
},
"hsl": {
"h": 277.792,
"s": 62.602,
"l": 48.235
},
"oklch": {
"l": 0.52162,
"c": 0.22475,
"h": 309.1
},
"luminance": 0.11964
}Semantic roles & 50–950 ramp
primary
#8F2EC8
secondary
#9FCF83
accent
#E6427F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83