#803FC4#803FC4
#803FC4 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.8% C 0.198 H 302.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #803FC4 |
|---|---|
| RGB | rgb(128, 63, 196) |
| HSL | hsl(269, 53%, 51%) |
| HSV | hsv(269, 68%, 77%) |
| CMYK | cmyk(34.7%, 67.9%, 0%, 23.1%) |
| CIE-LAB | lab(41.42, 53.03, -58.79) |
| CIE-LCH | lch(41.42, 79.17, 312.05°) |
| OKLab | oklab(51.83% 0.1059 -0.1672) |
| OKLCH | oklch(51.83% 0.198 302.3) |
| XYZ | xyz(20.6410, 12.1297, 53.4677) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.46
Blueviolet
#8A2BE2
ΔE00 4.59
Bluey Purple
#6241C7
ΔE00 5.36
Bluish Purple
#703BE7
ΔE00 5.59
Darkviolet
#9400D3
ΔE00 6.15
Burple
#6832E3
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#803FC4 #83C43F
analogous
#3F40C4 #803FC4 #C23FC4
triadic
#803FC4 #C4803F #3FC480
tetradic
#803FC4 #C43F40 #83C43F #3FC4C2
square
#803FC4 #C43F40 #83C43F #3FC4C2
split-complementary
#803FC4 #C4C23F #40C43F
monochromatic
#432068 #622E97 #803FC4 #9F6ED2 #BE9DE1
Accessibility & contrast
On white
6.13
#803FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#803FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #803FC4
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##803FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##803FC4 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0061C1
Tritanopia (blue-blind)
#725E7C
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #803fc4; /* rgb */ color: rgb(128, 63, 196); /* oklch */ color: oklch(51.8% 0.198 302.3);
Tailwind
colors: {
custom: {
50: '#aa79d7',
500: '#803fc4',
950: '#000000',
},
}SCSS
$custom: #803fc4; $custom-light: #aa79d7; $custom-dark: #000000;
JSON
{
"hex": "#803fc4",
"rgb": {
"r": 128,
"g": 63,
"b": 196
},
"hsl": {
"h": 269.323,
"s": 52.988,
"l": 50.784
},
"oklch": {
"l": 0.51833,
"c": 0.19791,
"h": 302.3
},
"luminance": 0.1213
}Semantic roles & 50–950 ramp
primary
#803FC4
secondary
#B0CD92
accent
#DC4B96
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100914
muted
#7F7B83