#8C4FDA#8C4FDA
#8C4FDA is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.204 H 300.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8C4FDA |
|---|---|
| RGB | rgb(140, 79, 218) |
| HSL | hsl(266, 65%, 58%) |
| HSV | hsv(266, 64%, 85%) |
| CMYK | cmyk(35.8%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(47.27, 52.93, -61.92) |
| CIE-LCH | lch(47.27, 81.46, 310.53°) |
| OKLab | oklab(56.84% 0.1022 -0.1761) |
| OKLCH | oklch(56.84% 0.204 300.1) |
| XYZ | xyz(26.2630, 16.2292, 68.0650) |
| Luminance | 0.1623 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.57
Lightish Purple
#A552E6
ΔE00 5.03
Darkorchid
#9932CC
ΔE00 6.24
Light Indigo
#6D5ACF
ΔE00 6.41
Blueviolet
#8A2BE2
ΔE00 6.44
Lighter Purple
#A55AF4
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C4FDA #9DDA4F
analogous
#4F57DA #8C4FDA #D14FDA
triadic
#8C4FDA #DA8C4F #4FDA8C
tetradic
#8C4FDA #DA4F57 #9DDA4F #4FDAD1
square
#8C4FDA #DA4F57 #9DDA4F #4FDAD1
split-complementary
#8C4FDA #DAD14F #57DA4F
monochromatic
#501E90 #6C29C3 #8C4FDA #AD82E5 #CEB4EF
Accessibility & contrast
On white
4.95
#8C4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#8C4FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C4FDA
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C4FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C4FDA | 1.00 | 4.95 | 4.25 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#0C6FD7
Tritanopia (blue-blind)
#7B6E8D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8c4fda; /* rgb */ color: rgb(140, 79, 218); /* oklch */ color: oklch(56.8% 0.204 300.1);
Tailwind
colors: {
custom: {
50: '#b384e6',
500: '#8c4fda',
950: '#000000',
},
}SCSS
$custom: #8c4fda; $custom-light: #b384e6; $custom-dark: #000000;
JSON
{
"hex": "#8c4fda",
"rgb": {
"r": 140,
"g": 79,
"b": 218
},
"hsl": {
"h": 266.331,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.56842,
"c": 0.20362,
"h": 300.1
},
"luminance": 0.16229
}Semantic roles & 50–950 ramp
primary
#8C4FDA
secondary
#C6DEA7
accent
#E8409E
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84