#8C4BE1#8C4BE1
#8C4BE1 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.217 H 299.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8C4BE1 |
|---|---|
| RGB | rgb(140, 75, 225) |
| HSL | hsl(266, 71%, 59%) |
| HSV | hsv(266, 67%, 88%) |
| CMYK | cmyk(37.8%, 66.7%, 0%, 11.8%) |
| CIE-LAB | lab(47.03, 56.67, -66.29) |
| CIE-LCH | lch(47.03, 87.21, 310.52°) |
| OKLab | oklab(56.82% 0.1058 -0.1889) |
| OKLCH | oklch(56.82% 0.217 299.2) |
| XYZ | xyz(26.9185, 16.0435, 72.8981) |
| Luminance | 0.1604 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.74
Lightish Purple
#A552E6
ΔE00 5.26
Blueviolet
#8A2BE2
ΔE00 5.63
Bluish Purple
#703BE7
ΔE00 6.04
Darkorchid
#9932CC
ΔE00 6.09
Electric Purple
#AA23FF
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C4BE1 #A0E14B
analogous
#4B55E1 #8C4BE1 #D74BE1
triadic
#8C4BE1 #E18C4B #4BE18C
tetradic
#8C4BE1 #E14B55 #A0E14B #4BE1D7
square
#8C4BE1 #E14B55 #A0E14B #4BE1D7
split-complementary
#8C4BE1 #E1D74B #55E14B
monochromatic
#501998 #6C22CD #8C4BE1 #AE7FEA #CFB4F2
Accessibility & contrast
On white
4.99
#8C4BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#8C4BE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C4BE1
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C4BE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C4BE1 | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE6
Deuteranopia (green-blind)
#006EDE
Tritanopia (blue-blind)
#786E90
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8c4be1; /* rgb */ color: rgb(140, 75, 225); /* oklch */ color: oklch(56.8% 0.217 299.2);
Tailwind
colors: {
custom: {
50: '#b481eb',
500: '#8c4be1',
950: '#000000',
},
}SCSS
$custom: #8c4be1; $custom-light: #b481eb; $custom-dark: #000000;
JSON
{
"hex": "#8c4be1",
"rgb": {
"r": 140,
"g": 75,
"b": 225
},
"hsl": {
"h": 266,
"s": 71.429,
"l": 58.824
},
"oklch": {
"l": 0.56822,
"c": 0.21654,
"h": 299.2
},
"luminance": 0.16044
}Semantic roles & 50–950 ramp
primary
#8C4BE1
secondary
#C8E1A6
accent
#EE3AA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84