#8C3FE4#8C3FE4
#8C3FE4 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.6% C 0.234 H 300.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #8C3FE4 |
|---|---|
| RGB | rgb(140, 63, 228) |
| HSL | hsl(268, 75%, 57%) |
| HSV | hsv(268, 72%, 89%) |
| CMYK | cmyk(38.6%, 72.4%, 0%, 10.6%) |
| CIE-LAB | lab(45.26, 62.95, -70.86) |
| CIE-LCH | lch(45.26, 94.79, 311.62°) |
| OKLab | oklab(55.63% 0.1169 -0.2023) |
| OKLCH | oklch(55.63% 0.234 300) |
| XYZ | xyz(26.5928, 14.7316, 74.8262) |
| Luminance | 0.1473 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.33
Bluish Purple
#703BE7
ΔE00 4.68
Violet (survey)
#9A0EEA
ΔE00 4.73
Darkorchid
#9932CC
ΔE00 4.85
Purpley
#8756E4
ΔE00 4.93
Vivid Purple
#9900FA
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C3FE4 #97E43F
analogous
#3F45E4 #8C3FE4 #DE3FE4
triadic
#8C3FE4 #E48C3F #3FE48C
tetradic
#8C3FE4 #E43F45 #97E43F #3FE4DE
square
#8C3FE4 #E43F45 #97E43F #3FE4DE
split-complementary
#8C3FE4 #E4DE3F #45E43F
monochromatic
#501594 #6D1CC9 #8C3FE4 #AC75EC #CCAAF3
Accessibility & contrast
On white
5.32
#8C3FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#8C3FE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C3FE4
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C3FE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C3FE4 | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#78698E
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8c3fe4; /* rgb */ color: rgb(140, 63, 228); /* oklch */ color: oklch(55.6% 0.234 300.0);
Tailwind
colors: {
custom: {
50: '#b57bee',
500: '#8c3fe4',
950: '#000000',
},
}SCSS
$custom: #8c3fe4; $custom-light: #b57bee; $custom-dark: #000000;
JSON
{
"hex": "#8c3fe4",
"rgb": {
"r": 140,
"g": 63,
"b": 228
},
"hsl": {
"h": 268,
"s": 75.342,
"l": 57.059
},
"oklch": {
"l": 0.55633,
"c": 0.23367,
"h": 300
},
"luminance": 0.14732
}Semantic roles & 50–950 ramp
primary
#8C3FE4
secondary
#C2E19E
accent
#F2369A
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84