#8C3ACE#8C3ACE
#8C3ACE is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.4% C 0.217 H 305.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8C3ACE |
|---|---|
| RGB | rgb(140, 58, 206) |
| HSL | hsl(273, 60%, 52%) |
| HSV | hsv(273, 72%, 81%) |
| CMYK | cmyk(32%, 71.8%, 0%, 19.2%) |
| CIE-LAB | lab(42.85, 60.00, -62.20) |
| CIE-LCH | lch(42.85, 86.42, 313.97°) |
| OKLab | oklab(53.41% 0.1257 -0.1768) |
| OKLCH | oklch(53.41% 0.217 305.4) |
| XYZ | xyz(23.4664, 13.0580, 59.6647) |
| Luminance | 0.1306 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.45
Blueviolet
#8A2BE2
ΔE00 3.23
Violet (survey)
#9A0EEA
ΔE00 4.70
Darkviolet
#9400D3
ΔE00 4.93
Vibrant Purple
#AD03DE
ΔE00 5.69
Purply
#983FB2
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C3ACE #7CCE3A
analogous
#423ACE #8C3ACE #CE3AC6
triadic
#8C3ACE #CE8C3A #3ACE8C
tetradic
#8C3ACE #CE423A #7CCE3A #3AC6CE
square
#8C3ACE #CE423A #7CCE3A #3AC6CE
split-complementary
#8C3ACE #C6CE3A #3ACE42
monochromatic
#4B1C71 #6C28A2 #8C3ACE #A96BDA #C59CE6
Accessibility & contrast
On white
5.81
#8C3ACE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#8C3ACE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C3ACE
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C3ACE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C3ACE | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#805D81
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8c3ace; /* rgb */ color: rgb(140, 58, 206); /* oklch */ color: oklch(53.4% 0.217 305.4);
Tailwind
colors: {
custom: {
50: '#b377de',
500: '#8c3ace',
950: '#000000',
},
}SCSS
$custom: #8c3ace; $custom-light: #b377de; $custom-dark: #000000;
JSON
{
"hex": "#8c3ace",
"rgb": {
"r": 140,
"g": 58,
"b": 206
},
"hsl": {
"h": 273.243,
"s": 60.163,
"l": 51.765
},
"oklch": {
"l": 0.53409,
"c": 0.21696,
"h": 305.4
},
"luminance": 0.13058
}Semantic roles & 50–950 ramp
primary
#8C3ACE
secondary
#AED291
accent
#E3448B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83