#803CB9#803CB9
#803CB9 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.7% C 0.190 H 305.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #803CB9 |
|---|---|
| RGB | rgb(128, 60, 185) |
| HSL | hsl(273, 51%, 48%) |
| HSV | hsv(273, 68%, 73%) |
| CMYK | cmyk(30.8%, 67.6%, 0%, 27.5%) |
| CIE-LAB | lab(40.12, 51.85, -54.45) |
| CIE-LCH | lch(40.12, 75.19, 313.60°) |
| OKLab | oklab(50.65% 0.1104 -0.1545) |
| OKLCH | oklch(50.65% 0.19 305.6) |
| XYZ | xyz(19.2730, 11.3238, 47.0599) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.73
Purply
#983FB2
ΔE00 5.47
Blueviolet
#8A2BE2
ΔE00 5.79
Royal Purple
#7851A9
ΔE00 5.98
Darkviolet
#9400D3
ΔE00 6.12
Bluey Purple
#6241C7
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#803CB9 #75B93C
analogous
#423CB9 #803CB9 #B93CB3
triadic
#803CB9 #B9803C #3CB980
tetradic
#803CB9 #B9423C #75B93C #3CB3B9
square
#803CB9 #B9423C #75B93C #3CB3B9
split-complementary
#803CB9 #B3B93C #3CB942
monochromatic
#401E5D #602D8B #803CB9 #9E65CD #BB93DC
Accessibility & contrast
On white
6.43
#803CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#803CB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #803CB9
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##803CB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##803CB9 | 1.00 | 6.43 | 3.26 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#155FB6
Tritanopia (blue-blind)
#765876
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #803cb9; /* rgb */ color: rgb(128, 60, 185); /* oklch */ color: oklch(50.7% 0.190 305.6);
Tailwind
colors: {
custom: {
50: '#a977cf',
500: '#803cb9',
950: '#000000',
},
}SCSS
$custom: #803cb9; $custom-light: #a977cf; $custom-dark: #000000;
JSON
{
"hex": "#803cb9",
"rgb": {
"r": 128,
"g": 60,
"b": 185
},
"hsl": {
"h": 272.64,
"s": 51.02,
"l": 48.039
},
"oklch": {
"l": 0.50655,
"c": 0.18991,
"h": 305.6
},
"luminance": 0.11324
}Semantic roles & 50–950 ramp
primary
#803CB9
secondary
#A6C789
accent
#DA4D8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82