#8C4FCA#8C4FCA
#8C4FCA is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.7% C 0.185 H 303.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8C4FCA |
|---|---|
| RGB | rgb(140, 79, 202) |
| HSL | hsl(270, 54%, 55%) |
| HSV | hsv(270, 61%, 79%) |
| CMYK | cmyk(30.7%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(46.22, 49.02, -54.44) |
| CIE-LCH | lch(46.22, 73.26, 312.00°) |
| OKLab | oklab(55.74% 0.1032 -0.1541) |
| OKLCH | oklch(55.74% 0.186 303.8) |
| XYZ | xyz(24.2695, 15.4317, 57.5657) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.67
Deep Lavender
#8D5EB7
ΔE00 5.40
Darkorchid
#9932CC
ΔE00 5.46
Lightish Purple
#A552E6
ΔE00 6.08
Purply
#983FB2
ΔE00 6.12
Royal Purple
#7851A9
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C4FCA #8DCA4F
analogous
#4F4FCA #8C4FCA #C94FCA
triadic
#8C4FCA #CA8C4F #4FCA8C
tetradic
#8C4FCA #CA4F4F #8DCA4F #4FCAC9
square
#8C4FCA #CA4F4F #8DCA4F #4FCAC9
split-complementary
#8C4FCA #CAC94F #4FCA4F
monochromatic
#4F257A #6D33A9 #8C4FCA #AB7ED8 #C9ADE6
Accessibility & contrast
On white
5.14
#8C4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#8C4FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C4FCA
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C4FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C4FCA | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#046CCE
Deuteranopia (green-blind)
#2F6DC7
Tritanopia (blue-blind)
#806885
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8c4fca; /* rgb */ color: rgb(140, 79, 202); /* oklch */ color: oklch(55.7% 0.185 303.8);
Tailwind
colors: {
custom: {
50: '#b283db',
500: '#8c4fca',
950: '#000000',
},
}SCSS
$custom: #8c4fca; $custom-light: #b283db; $custom-dark: #000000;
JSON
{
"hex": "#8c4fca",
"rgb": {
"r": 140,
"g": 79,
"b": 202
},
"hsl": {
"h": 269.756,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.55742,
"c": 0.1855,
"h": 303.8
},
"luminance": 0.15432
}Semantic roles & 50–950 ramp
primary
#8C4FCA
secondary
#BBD4A1
accent
#DD4B94
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83