#8C3CD5#8C3CD5
#8C3CD5 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.2% C 0.222 H 303.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8C3CD5 |
|---|---|
| RGB | rgb(140, 60, 213) |
| HSL | hsl(271, 65%, 54%) |
| HSV | hsv(271, 72%, 84%) |
| CMYK | cmyk(34.3%, 71.8%, 0%, 16.5%) |
| CIE-LAB | lab(43.67, 60.74, -64.90) |
| CIE-LCH | lch(43.67, 88.89, 313.11°) |
| OKLab | oklab(54.15% 0.1226 -0.1848) |
| OKLCH | oklch(54.15% 0.222 303.6) |
| XYZ | xyz(24.4385, 13.6113, 64.2776) |
| Luminance | 0.1361 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 2.88
Darkorchid
#9932CC
ΔE00 3.07
Violet (survey)
#9A0EEA
ΔE00 4.48
Bluish Purple
#703BE7
ΔE00 5.24
Darkviolet
#9400D3
ΔE00 5.48
Vivid Purple
#9900FA
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C3CD5 #85D53C
analogous
#3F3CD5 #8C3CD5 #D53CD1
triadic
#8C3CD5 #D58C3C #3CD58C
tetradic
#8C3CD5 #D53F3C #85D53C #3CD1D5
square
#8C3CD5 #D53F3C #85D53C #3CD1D5
split-complementary
#8C3CD5 #D1D53C #3CD53F
monochromatic
#4E1B7C #6D26AE #8C3CD5 #AA6EE0 #C7A1EB
Accessibility & contrast
On white
5.64
#8C3CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#8C3CD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C3CD5
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C3CD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C3CD5 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#7D6185
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8c3cd5; /* rgb */ color: rgb(140, 60, 213); /* oklch */ color: oklch(54.2% 0.222 303.6);
Tailwind
colors: {
custom: {
50: '#b379e3',
500: '#8c3cd5',
950: '#000000',
},
}SCSS
$custom: #8c3cd5; $custom-light: #b379e3; $custom-dark: #000000;
JSON
{
"hex": "#8c3cd5",
"rgb": {
"r": 140,
"g": 60,
"b": 213
},
"hsl": {
"h": 271.373,
"s": 64.557,
"l": 53.529
},
"oklch": {
"l": 0.54151,
"c": 0.22173,
"h": 303.6
},
"luminance": 0.13611
}Semantic roles & 50–950 ramp
primary
#8C3CD5
secondary
#B5D796
accent
#E84090
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84