#8C4DCD#8C4DCD
#8C4DCD is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.7% C 0.192 H 303.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8C4DCD |
|---|---|
| RGB | rgb(140, 77, 205) |
| HSL | hsl(270, 56%, 55%) |
| HSV | hsv(270, 62%, 80%) |
| CMYK | cmyk(31.7%, 62.4%, 0%, 19.6%) |
| CIE-LAB | lab(46.03, 50.78, -56.48) |
| CIE-LCH | lch(46.03, 75.95, 311.96°) |
| OKLab | oklab(55.67% 0.1055 -0.1601) |
| OKLCH | oklch(55.67% 0.192 303.4) |
| XYZ | xyz(24.4860, 15.2910, 59.4072) |
| Luminance | 0.1529 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.48
Darkorchid
#9932CC
ΔE00 5.10
Lightish Purple
#A552E6
ΔE00 6.02
Deep Lavender
#8D5EB7
ΔE00 6.04
Purply
#983FB2
ΔE00 6.25
Blueviolet
#8A2BE2
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C4DCD #8ECD4D
analogous
#4D4ECD #8C4DCD #CC4DCD
triadic
#8C4DCD #CD8C4D #4DCD8C
tetradic
#8C4DCD #CD4D4E #8ECD4D #4DCDCC
square
#8C4DCD #CD4D4E #8ECD4D #4DCDCC
split-complementary
#8C4DCD #CDCC4D #4ECD4D
monochromatic
#4F237D #6D30AC #8C4DCD #AB7DDA #CAADE8
Accessibility & contrast
On white
5.17
#8C4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#8C4DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C4DCD
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C4DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C4DCD | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#286DCA
Tritanopia (blue-blind)
#806886
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8c4dcd; /* rgb */ color: rgb(140, 77, 205); /* oklch */ color: oklch(55.7% 0.192 303.4);
Tailwind
colors: {
custom: {
50: '#b282dd',
500: '#8c4dcd',
950: '#000000',
},
}SCSS
$custom: #8c4dcd; $custom-light: #b282dd; $custom-dark: #000000;
JSON
{
"hex": "#8c4dcd",
"rgb": {
"r": 140,
"g": 77,
"b": 205
},
"hsl": {
"h": 269.531,
"s": 56.14,
"l": 55.294
},
"oklch": {
"l": 0.55666,
"c": 0.19171,
"h": 303.4
},
"luminance": 0.15291
}Semantic roles & 50–950 ramp
primary
#8C4DCD
secondary
#BBD6A0
accent
#DF4895
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83