#803DC2#803DC2
#803DC2 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.198 H 303.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #803DC2 |
|---|---|
| RGB | rgb(128, 61, 194) |
| HSL | hsl(270, 52%, 50%) |
| HSV | hsv(270, 69%, 76%) |
| CMYK | cmyk(34%, 68.6%, 0%, 23.9%) |
| CIE-LAB | lab(40.93, 53.51, -58.41) |
| CIE-LCH | lch(40.93, 79.22, 312.49°) |
| OKLab | oklab(51.44% 0.1082 -0.1661) |
| OKLCH | oklch(51.44% 0.198 303.1) |
| XYZ | xyz(20.3062, 11.8217, 52.2405) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.41
Blueviolet
#8A2BE2
ΔE00 4.66
Bluey Purple
#6241C7
ΔE00 5.48
Bluish Purple
#703BE7
ΔE00 5.85
Darkviolet
#9400D3
ΔE00 5.86
Purply
#983FB2
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#803DC2 #7FC23D
analogous
#3E3DC2 #803DC2 #C23DC1
triadic
#803DC2 #C2803D #3DC280
tetradic
#803DC2 #C23E3D #7FC23D #3DC1C2
square
#803DC2 #C23E3D #7FC23D #3DC1C2
split-complementary
#803DC2 #C1C23D #3DC23E
monochromatic
#432065 #612E93 #803DC2 #9E6CD1 #BD9ADF
Accessibility & contrast
On white
6.24
#803DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#803DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #803DC2
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##803DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##803DC2 | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#735C7B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #803dc2; /* rgb */ color: rgb(128, 61, 194); /* oklch */ color: oklch(51.4% 0.198 303.1);
Tailwind
colors: {
custom: {
50: '#aa77d5',
500: '#803dc2',
950: '#000000',
},
}SCSS
$custom: #803dc2; $custom-light: #aa77d5; $custom-dark: #000000;
JSON
{
"hex": "#803dc2",
"rgb": {
"r": 128,
"g": 61,
"b": 194
},
"hsl": {
"h": 270.226,
"s": 52.157,
"l": 50
},
"oklch": {
"l": 0.51437,
"c": 0.19828,
"h": 303.1
},
"luminance": 0.11822
}Semantic roles & 50–950 ramp
primary
#803DC2
secondary
#ADCB90
accent
#DC4C93
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100914
muted
#7F7B83