#8C3FD6#8C3FD6
#8C3FD6 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.219 H 303.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #8C3FD6 |
|---|---|
| RGB | rgb(140, 63, 214) |
| HSL | hsl(271, 65%, 54%) |
| HSV | hsv(271, 71%, 84%) |
| CMYK | cmyk(34.6%, 70.6%, 0%, 16.1%) |
| CIE-LAB | lab(44.21, 59.66, -64.59) |
| CIE-LCH | lch(44.21, 87.92, 312.73°) |
| OKLab | oklab(54.56% 0.1195 -0.1839) |
| OKLCH | oklch(54.56% 0.219 303) |
| XYZ | xyz(24.7275, 13.9855, 65.0020) |
| Luminance | 0.1399 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.29
Darkorchid
#9932CC
ΔE00 3.41
Violet (survey)
#9A0EEA
ΔE00 4.86
Bluish Purple
#703BE7
ΔE00 5.28
Vivid Purple
#9900FA
ΔE00 5.74
Purpley
#8756E4
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C3FD6 #89D63F
analogous
#413FD6 #8C3FD6 #D63FD5
triadic
#8C3FD6 #D68C3F #3FD68C
tetradic
#8C3FD6 #D6413F #89D63F #3FD5D6
square
#8C3FD6 #D6413F #89D63F #3FD5D6
split-complementary
#8C3FD6 #D5D63F #3FD641
monochromatic
#4E1B7F #6D26B2 #8C3FD6 #AA71E1 #C8A4EC
Accessibility & contrast
On white
5.53
#8C3FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#8C3FD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C3FD6
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C3FD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C3FD6 | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067DA
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#7D6386
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8c3fd6; /* rgb */ color: rgb(140, 63, 214); /* oklch */ color: oklch(54.6% 0.219 303.0);
Tailwind
colors: {
custom: {
50: '#b37ae4',
500: '#8c3fd6',
950: '#000000',
},
}SCSS
$custom: #8c3fd6; $custom-light: #b37ae4; $custom-dark: #000000;
JSON
{
"hex": "#8c3fd6",
"rgb": {
"r": 140,
"g": 63,
"b": 214
},
"hsl": {
"h": 270.596,
"s": 64.807,
"l": 54.314
},
"oklch": {
"l": 0.54559,
"c": 0.21931,
"h": 303
},
"luminance": 0.13986
}Semantic roles & 50–950 ramp
primary
#8C3FD6
secondary
#B8D898
accent
#E84092
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84