#8C3FC0#8C3FC0
#8C3FC0 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 53.0% C 0.197 H 308.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8C3FC0 |
|---|---|
| RGB | rgb(140, 63, 192) |
| HSL | hsl(276, 51%, 50%) |
| HSV | hsv(276, 67%, 75%) |
| CMYK | cmyk(27.1%, 67.2%, 0%, 24.7%) |
| CIE-LAB | lab(42.67, 54.61, -54.37) |
| CIE-LCH | lch(42.67, 77.05, 315.13°) |
| OKLab | oklab(52.97% 0.1224 -0.1538) |
| OKLCH | oklch(52.97% 0.197 308.5) |
| XYZ | xyz(22.1052, 12.9366, 51.1915) |
| Luminance | 0.1294 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.86
Purply
#983FB2
ΔE00 3.85
Blueviolet
#8A2BE2
ΔE00 5.39
Darkviolet
#9400D3
ΔE00 6.06
Royal Purple
#7851A9
ΔE00 6.38
Violet (survey)
#9A0EEA
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C3FC0 #73C03F
analogous
#4C3FC0 #8C3FC0 #C03FB3
triadic
#8C3FC0 #C08C3F #3FC08C
tetradic
#8C3FC0 #C04C3F #73C03F #3FB3C0
square
#8C3FC0 #C04C3F #73C03F #3FB3C0
split-complementary
#8C3FC0 #B3C03F #3FC04C
monochromatic
#492164 #6A3092 #8C3FC0 #A86DCF #C39BDE
Accessibility & contrast
On white
5.85
#8C3FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#8C3FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C3FC0
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C3FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C3FC0 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#2666BD
Tritanopia (blue-blind)
#845B7A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8c3fc0; /* rgb */ color: rgb(140, 63, 192); /* oklch */ color: oklch(53.0% 0.197 308.5);
Tailwind
colors: {
custom: {
50: '#b27ad4',
500: '#8c3fc0',
950: '#000000',
},
}SCSS
$custom: #8c3fc0; $custom-light: #b27ad4; $custom-dark: #000000;
JSON
{
"hex": "#8c3fc0",
"rgb": {
"r": 140,
"g": 63,
"b": 192
},
"hsl": {
"h": 275.814,
"s": 50.588,
"l": 50
},
"oklch": {
"l": 0.52968,
"c": 0.1966,
"h": 308.5
},
"luminance": 0.12936
}Semantic roles & 50–950 ramp
primary
#8C3FC0
secondary
#A8CA91
accent
#DA4E86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83