#8C3FE0#8C3FE0
#8C3FE0 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.3% C 0.230 H 300.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8C3FE0 |
|---|---|
| RGB | rgb(140, 63, 224) |
| HSL | hsl(269, 72%, 56%) |
| HSV | hsv(269, 72%, 88%) |
| CMYK | cmyk(37.5%, 71.9%, 0%, 12.2%) |
| CIE-LAB | lab(44.96, 62.01, -69.09) |
| CIE-LCH | lch(44.96, 92.83, 311.91°) |
| OKLab | oklab(55.32% 0.1177 -0.1971) |
| OKLCH | oklch(55.32% 0.23 300.8) |
| XYZ | xyz(26.0440, 14.5121, 71.9356) |
| Luminance | 0.1451 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.19
Darkorchid
#9932CC
ΔE00 4.41
Violet (survey)
#9A0EEA
ΔE00 4.68
Bluish Purple
#703BE7
ΔE00 4.76
Vivid Purple
#9900FA
ΔE00 5.11
Purpley
#8756E4
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C3FE0 #93E03F
analogous
#3F43E0 #8C3FE0 #DD3FE0
triadic
#8C3FE0 #E08C3F #3FE08C
tetradic
#8C3FE0 #E03F43 #93E03F #3FE0DD
square
#8C3FE0 #E03F43 #93E03F #3FE0DD
split-complementary
#8C3FE0 #E0DD3F #43E03F
monochromatic
#50178E #6D1FC2 #8C3FE0 #AC74E9 #CBA8F1
Accessibility & contrast
On white
5.38
#8C3FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#8C3FE0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C3FE0
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C3FE0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C3FE0 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE5
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#79678C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8c3fe0; /* rgb */ color: rgb(140, 63, 224); /* oklch */ color: oklch(55.3% 0.230 300.8);
Tailwind
colors: {
custom: {
50: '#b47beb',
500: '#8c3fe0',
950: '#000000',
},
}SCSS
$custom: #8c3fe0; $custom-light: #b47beb; $custom-dark: #000000;
JSON
{
"hex": "#8c3fe0",
"rgb": {
"r": 140,
"g": 63,
"b": 224
},
"hsl": {
"h": 268.696,
"s": 72.197,
"l": 56.275
},
"oklch": {
"l": 0.55322,
"c": 0.22957,
"h": 300.8
},
"luminance": 0.14512
}Semantic roles & 50–950 ramp
primary
#8C3FE0
secondary
#BFDF9C
accent
#EF3998
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84