#8C4CD2#8C4CD2
#8C4CD2 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.9% C 0.199 H 302.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8C4CD2 |
|---|---|
| RGB | rgb(140, 76, 210) |
| HSL | hsl(269, 60%, 56%) |
| HSV | hsv(269, 64%, 82%) |
| CMYK | cmyk(33.3%, 63.8%, 0%, 17.6%) |
| CIE-LAB | lab(46.17, 52.50, -59.12) |
| CIE-LCH | lch(46.17, 79.06, 311.60°) |
| OKLab | oklab(55.88% 0.1063 -0.1679) |
| OKLCH | oklch(55.88% 0.199 302.3) |
| XYZ | xyz(25.0298, 15.3974, 62.6136) |
| Luminance | 0.1540 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.97
Darkorchid
#9932CC
ΔE00 5.12
Lightish Purple
#A552E6
ΔE00 5.77
Blueviolet
#8A2BE2
ΔE00 5.91
Deep Lavender
#8D5EB7
ΔE00 6.67
Bluish Purple
#703BE7
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C4CD2 #92D24C
analogous
#4C4FD2 #8C4CD2 #CF4CD2
triadic
#8C4CD2 #D28C4C #4CD28C
tetradic
#8C4CD2 #D24C4F #92D24C #4CD2CF
square
#8C4CD2 #D24C4F #92D24C #4CD2CF
split-complementary
#8C4CD2 #D2CF4C #4FD24C
monochromatic
#502183 #6D2DB4 #8C4CD2 #AB7DDE #CBAEEB
Accessibility & contrast
On white
5.15
#8C4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#8C4CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C4CD2
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C4CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C4CD2 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#1C6DCF
Tritanopia (blue-blind)
#7E6988
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8c4cd2; /* rgb */ color: rgb(140, 76, 210); /* oklch */ color: oklch(55.9% 0.199 302.3);
Tailwind
colors: {
custom: {
50: '#b282e1',
500: '#8c4cd2',
950: '#000000',
},
}SCSS
$custom: #8c4cd2; $custom-light: #b282e1; $custom-dark: #000000;
JSON
{
"hex": "#8c4cd2",
"rgb": {
"r": 140,
"g": 76,
"b": 210
},
"hsl": {
"h": 268.657,
"s": 59.821,
"l": 56.078
},
"oklch": {
"l": 0.55876,
"c": 0.19867,
"h": 302.3
},
"luminance": 0.15397
}Semantic roles & 50–950 ramp
primary
#8C4CD2
secondary
#BED9A1
accent
#E34597
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83