#8C2EAE#8C2EAE
#8C2EAE is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.200 H 315.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8C2EAE |
|---|---|
| RGB | rgb(140, 46, 174) |
| HSL | hsl(284, 58%, 43%) |
| HSV | hsv(284, 74%, 68%) |
| CMYK | cmyk(19.5%, 73.6%, 0%, 31.8%) |
| CIE-LAB | lab(38.87, 58.02, -49.88) |
| CIE-LCH | lch(38.87, 76.51, 319.31°) |
| OKLab | oklab(49.88% 0.1422 -0.1406) |
| OKLCH | oklch(49.88% 0.2 315.3) |
| XYZ | xyz(19.4310, 10.5862, 41.0560) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.37
Purple (survey)
#7E1E9C
ΔE00 4.55
Darkorchid
#9932CC
ΔE00 4.99
Barney
#AC1DB8
ΔE00 5.56
Darkviolet
#9400D3
ΔE00 5.67
Barney Purple
#A00498
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C2EAE #50AE2E
analogous
#4C2EAE #8C2EAE #AE2E90
triadic
#8C2EAE #AE8C2E #2EAE8C
tetradic
#8C2EAE #AE4C2E #50AE2E #2E90AE
square
#8C2EAE #AE4C2E #50AE2E #2E90AE
split-complementary
#8C2EAE #90AE2E #2EAE4C
monochromatic
#3E144D #65217E #8C2EAE #AC4ACF #C27ADC
Accessibility & contrast
On white
6.74
#8C2EAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#8C2EAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C2EAE
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C2EAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C2EAE | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#2A5EAB
Tritanopia (blue-blind)
#89496C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8c2eae; /* rgb */ color: rgb(140, 46, 174); /* oklch */ color: oklch(49.9% 0.200 315.3);
Tailwind
colors: {
custom: {
50: '#b270c7',
500: '#8c2eae',
950: '#000000',
},
}SCSS
$custom: #8c2eae; $custom-light: #b270c7; $custom-dark: #000000;
JSON
{
"hex": "#8c2eae",
"rgb": {
"r": 140,
"g": 46,
"b": 174
},
"hsl": {
"h": 284.063,
"s": 58.182,
"l": 43.137
},
"oklch": {
"l": 0.49877,
"c": 0.19995,
"h": 315.3
},
"luminance": 0.10585
}Semantic roles & 50–950 ramp
primary
#8C2EAE
secondary
#89C474
accent
#E14670
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82