#8C3FDE#8C3FDE
#8C3FDE is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.2% C 0.228 H 301.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8C3FDE |
|---|---|
| RGB | rgb(140, 63, 222) |
| HSL | hsl(269, 71%, 56%) |
| HSV | hsv(269, 72%, 87%) |
| CMYK | cmyk(36.9%, 71.6%, 0%, 12.9%) |
| CIE-LAB | lab(44.81, 61.53, -68.20) |
| CIE-LCH | lch(44.81, 91.85, 312.06°) |
| OKLab | oklab(55.17% 0.1181 -0.1945) |
| OKLCH | oklch(55.17% 0.228 301.3) |
| XYZ | xyz(25.7743, 14.4042, 70.5155) |
| Luminance | 0.1440 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.16
Darkorchid
#9932CC
ΔE00 4.20
Violet (survey)
#9A0EEA
ΔE00 4.68
Bluish Purple
#703BE7
ΔE00 4.83
Vivid Purple
#9900FA
ΔE00 5.21
Purpley
#8756E4
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C3FDE #91DE3F
analogous
#3F41DE #8C3FDE #DC3FDE
triadic
#8C3FDE #DE8C3F #3FDE8C
tetradic
#8C3FDE #DE3F41 #91DE3F #3FDEDC
square
#8C3FDE #DE3F41 #91DE3F #3FDEDC
split-complementary
#8C3FDE #DEDC3F #41DE3F
monochromatic
#4F188B #6D21BF #8C3FDE #AB73E7 #CBA7F0
Accessibility & contrast
On white
5.41
#8C3FDE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#8C3FDE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C3FDE
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C3FDE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C3FDE | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069E3
Deuteranopia (green-blind)
#0069DB
Tritanopia (blue-blind)
#7A668B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8c3fde; /* rgb */ color: rgb(140, 63, 222); /* oklch */ color: oklch(55.2% 0.228 301.3);
Tailwind
colors: {
custom: {
50: '#b47be9',
500: '#8c3fde',
950: '#000000',
},
}SCSS
$custom: #8c3fde; $custom-light: #b47be9; $custom-dark: #000000;
JSON
{
"hex": "#8c3fde",
"rgb": {
"r": 140,
"g": 63,
"b": 222
},
"hsl": {
"h": 269.057,
"s": 70.667,
"l": 55.882
},
"oklch": {
"l": 0.55167,
"c": 0.22753,
"h": 301.3
},
"luminance": 0.14404
}Semantic roles & 50–950 ramp
primary
#8C3FDE
secondary
#BDDD9B
accent
#ED3A97
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84