#8C3FDB#8C3FDB
#8C3FDB is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.9% C 0.224 H 301.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8C3FDB |
|---|---|
| RGB | rgb(140, 63, 219) |
| HSL | hsl(270, 68%, 55%) |
| HSV | hsv(270, 71%, 86%) |
| CMYK | cmyk(36.1%, 71.2%, 0%, 14.1%) |
| CIE-LAB | lab(44.58, 60.83, -66.85) |
| CIE-LCH | lch(44.58, 90.38, 312.30°) |
| OKLab | oklab(54.94% 0.1186 -0.1905) |
| OKLCH | oklch(54.94% 0.224 301.9) |
| XYZ | xyz(25.3758, 14.2448, 68.4167) |
| Luminance | 0.1424 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.16
Darkorchid
#9932CC
ΔE00 3.89
Violet (survey)
#9A0EEA
ΔE00 4.72
Bluish Purple
#703BE7
ΔE00 4.97
Vivid Purple
#9900FA
ΔE00 5.38
Purpley
#8756E4
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C3FDB #8EDB3F
analogous
#3F40DB #8C3FDB #DA3FDB
triadic
#8C3FDB #DB8C3F #3FDB8C
tetradic
#8C3FDB #DB3F40 #8EDB3F #3FDBDA
square
#8C3FDB #DB3F40 #8EDB3F #3FDBDA
split-complementary
#8C3FDB #DBDA3F #40DB3F
monochromatic
#4F1986 #6D23BA #8C3FDB #AB73E5 #CAA6EE
Accessibility & contrast
On white
5.46
#8C3FDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#8C3FDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C3FDB
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C3FDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C3FDB | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068E0
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#7B6589
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8c3fdb; /* rgb */ color: rgb(140, 63, 219); /* oklch */ color: oklch(54.9% 0.224 301.9);
Tailwind
colors: {
custom: {
50: '#b47ae7',
500: '#8c3fdb',
950: '#000000',
},
}SCSS
$custom: #8c3fdb; $custom-light: #b47ae7; $custom-dark: #000000;
JSON
{
"hex": "#8c3fdb",
"rgb": {
"r": 140,
"g": 63,
"b": 219
},
"hsl": {
"h": 269.615,
"s": 68.421,
"l": 55.294
},
"oklch": {
"l": 0.54937,
"c": 0.22444,
"h": 301.9
},
"luminance": 0.14245
}Semantic roles & 50–950 ramp
primary
#8C3FDB
secondary
#BBDC9A
accent
#EB3D95
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84