#803FC3#803FC3
#803FC3 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.8% C 0.197 H 302.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #803FC3 |
|---|---|
| RGB | rgb(128, 63, 195) |
| HSL | hsl(270, 52%, 51%) |
| HSV | hsv(270, 68%, 76%) |
| CMYK | cmyk(34.4%, 67.7%, 0%, 23.5%) |
| CIE-LAB | lab(41.35, 52.79, -58.32) |
| CIE-LCH | lch(41.35, 78.66, 312.15°) |
| OKLab | oklab(51.76% 0.106 -0.1659) |
| OKLCH | oklch(51.76% 0.197 302.6) |
| XYZ | xyz(20.5276, 12.0843, 52.8702) |
| Luminance | 0.1208 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.47
Blueviolet
#8A2BE2
ΔE00 4.70
Bluey Purple
#6241C7
ΔE00 5.41
Bluish Purple
#703BE7
ΔE00 5.73
Purply
#983FB2
ΔE00 6.16
Darkviolet
#9400D3
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#803FC3 #82C33F
analogous
#3F40C3 #803FC3 #C23FC3
triadic
#803FC3 #C3803F #3FC380
tetradic
#803FC3 #C33F40 #82C33F #3FC3C2
square
#803FC3 #C33F40 #82C33F #3FC3C2
split-complementary
#803FC3 #C3C23F #40C33F
monochromatic
#432067 #622F96 #803FC3 #9F6ED2 #BE9CE0
Accessibility & contrast
On white
6.15
#803FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#803FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #803FC3
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##803FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##803FC3 | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#725D7C
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #803fc3; /* rgb */ color: rgb(128, 63, 195); /* oklch */ color: oklch(51.8% 0.197 302.6);
Tailwind
colors: {
custom: {
50: '#aa79d6',
500: '#803fc3',
950: '#000000',
},
}SCSS
$custom: #803fc3; $custom-light: #aa79d6; $custom-dark: #000000;
JSON
{
"hex": "#803fc3",
"rgb": {
"r": 128,
"g": 63,
"b": 195
},
"hsl": {
"h": 269.545,
"s": 52.381,
"l": 50.588
},
"oklch": {
"l": 0.51759,
"c": 0.19683,
"h": 302.6
},
"luminance": 0.12084
}Semantic roles & 50–950 ramp
primary
#803FC3
secondary
#AFCC92
accent
#DC4C95
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100914
muted
#7F7B83