#8C3ED7#8C3ED7
#8C3ED7 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.5% C 0.221 H 302.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8C3ED7 |
|---|---|
| RGB | rgb(140, 62, 215) |
| HSL | hsl(271, 66%, 54%) |
| HSV | hsv(271, 71%, 84%) |
| CMYK | cmyk(34.9%, 71.2%, 0%, 15.7%) |
| CIE-LAB | lab(44.13, 60.33, -65.30) |
| CIE-LCH | lch(44.13, 88.91, 312.74°) |
| OKLab | oklab(54.52% 0.1203 -0.186) |
| OKLCH | oklch(54.52% 0.221 302.9) |
| XYZ | xyz(24.8007, 13.9270, 65.6584) |
| Luminance | 0.1393 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.08
Darkorchid
#9932CC
ΔE00 3.41
Violet (survey)
#9A0EEA
ΔE00 4.67
Bluish Purple
#703BE7
ΔE00 5.17
Vivid Purple
#9900FA
ΔE00 5.54
Purpley
#8756E4
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C3ED7 #89D73E
analogous
#403ED7 #8C3ED7 #D73ED6
triadic
#8C3ED7 #D78C3E #3ED78C
tetradic
#8C3ED7 #D7403E #89D73E #3ED6D7
square
#8C3ED7 #D7403E #89D73E #3ED6D7
split-complementary
#8C3ED7 #D6D73E #3ED740
monochromatic
#4E1B80 #6D25B3 #8C3ED7 #AA71E2 #C8A3EC
Accessibility & contrast
On white
5.55
#8C3ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#8C3ED7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C3ED7
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C3ED7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C3ED7 | 1.00 | 5.55 | 3.79 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#7D6387
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8c3ed7; /* rgb */ color: rgb(140, 62, 215); /* oklch */ color: oklch(54.5% 0.221 302.9);
Tailwind
colors: {
custom: {
50: '#b37ae4',
500: '#8c3ed7',
950: '#000000',
},
}SCSS
$custom: #8c3ed7; $custom-light: #b37ae4; $custom-dark: #000000;
JSON
{
"hex": "#8c3ed7",
"rgb": {
"r": 140,
"g": 62,
"b": 215
},
"hsl": {
"h": 270.588,
"s": 65.665,
"l": 54.314
},
"oklch": {
"l": 0.54522,
"c": 0.22149,
"h": 302.9
},
"luminance": 0.13927
}Semantic roles & 50–950 ramp
primary
#8C3ED7
secondary
#B8D998
accent
#E93F92
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84