#8C4FE3#8C4FE3
#8C4FE3 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.5% C 0.214 H 298.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8C4FE3 |
|---|---|
| RGB | rgb(140, 79, 227) |
| HSL | hsl(265, 73%, 60%) |
| HSV | hsv(265, 65%, 89%) |
| CMYK | cmyk(38.3%, 65.2%, 0%, 11%) |
| CIE-LAB | lab(47.90, 55.18, -66.02) |
| CIE-LCH | lch(47.90, 86.04, 309.89°) |
| OKLab | oklab(57.49% 0.1014 -0.1882) |
| OKLCH | oklch(57.49% 0.214 298.3) |
| XYZ | xyz(27.4728, 16.7131, 74.4367) |
| Luminance | 0.1671 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.83
Lightish Purple
#A552E6
ΔE00 4.83
Lighter Purple
#A55AF4
ΔE00 6.15
Light Indigo
#6D5ACF
ΔE00 6.54
Electric Purple
#AA23FF
ΔE00 6.58
Blueviolet
#8A2BE2
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C4FE3 #A6E34F
analogous
#4F5CE3 #8C4FE3 #D64FE3
triadic
#8C4FE3 #E38C4F #4FE38C
tetradic
#8C4FE3 #E34F5C #A6E34F #4FE3D6
square
#8C4FE3 #E34F5C #A6E34F #4FE3D6
split-complementary
#8C4FE3 #E3D64F #5CE34F
monochromatic
#50199E #6B22D3 #8C4FE3 #AF84EB #D1B9F4
Accessibility & contrast
On white
4.84
#8C4FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#8C4FE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C4FE3
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C4FE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C4FE3 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#0070E0
Tritanopia (blue-blind)
#777192
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8c4fe3; /* rgb */ color: rgb(140, 79, 227); /* oklch */ color: oklch(57.5% 0.214 298.3);
Tailwind
colors: {
custom: {
50: '#b484ed',
500: '#8c4fe3',
950: '#000000',
},
}SCSS
$custom: #8c4fe3; $custom-light: #b484ed; $custom-dark: #000000;
JSON
{
"hex": "#8c4fe3",
"rgb": {
"r": 140,
"g": 79,
"b": 227
},
"hsl": {
"h": 264.73,
"s": 72.549,
"l": 60
},
"oklch": {
"l": 0.57487,
"c": 0.21373,
"h": 298.3
},
"luminance": 0.16713
}Semantic roles & 50–950 ramp
primary
#8C4FE3
secondary
#CCE3AA
accent
#EF39A4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84