#8C3FBF#8C3FBF
#8C3FBF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.9% C 0.196 H 308.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8C3FBF |
|---|---|
| RGB | rgb(140, 63, 191) |
| HSL | hsl(276, 50%, 50%) |
| HSV | hsv(276, 67%, 75%) |
| CMYK | cmyk(26.7%, 67%, 0%, 25.1%) |
| CIE-LAB | lab(42.60, 54.38, -53.89) |
| CIE-LCH | lch(42.60, 76.56, 315.26°) |
| OKLab | oklab(52.9% 0.1225 -0.1524) |
| OKLCH | oklch(52.9% 0.196 308.8) |
| XYZ | xyz(21.9948, 12.8924, 50.6099) |
| Luminance | 0.1289 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.92
Purply
#983FB2
ΔE00 3.73
Blueviolet
#8A2BE2
ΔE00 5.53
Darkviolet
#9400D3
ΔE00 6.11
Royal Purple
#7851A9
ΔE00 6.32
Barney
#AC1DB8
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C3FBF #72BF3F
analogous
#4C3FBF #8C3FBF #BF3FB2
triadic
#8C3FBF #BF8C3F #3FBF8C
tetradic
#8C3FBF #BF4C3F #72BF3F #3FB2BF
square
#8C3FBF #BF4C3F #72BF3F #3FB2BF
split-complementary
#8C3FBF #B2BF3F #3FBF4C
monochromatic
#492163 #6A3091 #8C3FBF #A86DCF #C39BDE
Accessibility & contrast
On white
5.87
#8C3FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#8C3FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C3FBF
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C3FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C3FBF | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#2766BC
Tritanopia (blue-blind)
#845A7A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8c3fbf; /* rgb */ color: rgb(140, 63, 191); /* oklch */ color: oklch(52.9% 0.196 308.8);
Tailwind
colors: {
custom: {
50: '#b279d3',
500: '#8c3fbf',
950: '#000000',
},
}SCSS
$custom: #8c3fbf; $custom-light: #b279d3; $custom-dark: #000000;
JSON
{
"hex": "#8c3fbf",
"rgb": {
"r": 140,
"g": 63,
"b": 191
},
"hsl": {
"h": 276.094,
"s": 50.394,
"l": 49.804
},
"oklch": {
"l": 0.52899,
"c": 0.19557,
"h": 308.8
},
"luminance": 0.12892
}Semantic roles & 50–950 ramp
primary
#8C3FBF
secondary
#A7CA90
accent
#DA4E86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83