#803FC2#803FC2
#803FC2 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.7% C 0.196 H 302.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #803FC2 |
|---|---|
| RGB | rgb(128, 63, 194) |
| HSL | hsl(270, 52%, 50%) |
| HSV | hsv(270, 68%, 76%) |
| CMYK | cmyk(34%, 67.5%, 0%, 23.9%) |
| CIE-LAB | lab(41.28, 52.55, -57.85) |
| CIE-LCH | lch(41.28, 78.15, 312.25°) |
| OKLab | oklab(51.69% 0.1061 -0.1645) |
| OKLCH | oklch(51.69% 0.196 302.8) |
| XYZ | xyz(20.4149, 12.0392, 52.2768) |
| Luminance | 0.1204 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.48
Blueviolet
#8A2BE2
ΔE00 4.82
Bluey Purple
#6241C7
ΔE00 5.47
Bluish Purple
#703BE7
ΔE00 5.87
Purply
#983FB2
ΔE00 6.07
Royal Purple
#7851A9
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#803FC2 #81C23F
analogous
#3F3FC2 #803FC2 #C23FC2
triadic
#803FC2 #C2803F #3FC280
tetradic
#803FC2 #C23F3F #81C23F #3FC2C2
square
#803FC2 #C23F3F #81C23F #3FC2C2
split-complementary
#803FC2 #C2C23F #3FC23F
monochromatic
#432066 #622F95 #803FC2 #9F6DD1 #BD9CE0
Accessibility & contrast
On white
6.16
#803FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#803FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #803FC2
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##803FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##803FC2 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#735D7B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #803fc2; /* rgb */ color: rgb(128, 63, 194); /* oklch */ color: oklch(51.7% 0.196 302.8);
Tailwind
colors: {
custom: {
50: '#aa79d5',
500: '#803fc2',
950: '#000000',
},
}SCSS
$custom: #803fc2; $custom-light: #aa79d5; $custom-dark: #000000;
JSON
{
"hex": "#803fc2",
"rgb": {
"r": 128,
"g": 63,
"b": 194
},
"hsl": {
"h": 269.771,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.51686,
"c": 0.19575,
"h": 302.8
},
"luminance": 0.12039
}Semantic roles & 50–950 ramp
primary
#803FC2
secondary
#AFCC91
accent
#DB4D94
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83