#803CBD#803CBD
#803CBD is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.194 H 304.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #803CBD |
|---|---|
| RGB | rgb(128, 60, 189) |
| HSL | hsl(272, 52%, 49%) |
| HSV | hsv(272, 68%, 74%) |
| CMYK | cmyk(32.3%, 68.3%, 0%, 25.9%) |
| CIE-LAB | lab(40.40, 52.79, -56.35) |
| CIE-LCH | lch(40.40, 77.22, 313.14°) |
| OKLab | oklab(50.95% 0.11 -0.16) |
| OKLCH | oklch(50.95% 0.194 304.5) |
| XYZ | xyz(19.7012, 11.4951, 49.3151) |
| Luminance | 0.1149 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.53
Blueviolet
#8A2BE2
ΔE00 5.24
Purply
#983FB2
ΔE00 5.76
Bluey Purple
#6241C7
ΔE00 5.84
Darkviolet
#9400D3
ΔE00 5.89
Royal Purple
#7851A9
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#803CBD #79BD3C
analogous
#403CBD #803CBD #BD3CBA
triadic
#803CBD #BD803C #3CBD80
tetradic
#803CBD #BD403C #79BD3C #3CBABD
square
#803CBD #BD403C #79BD3C #3CBABD
split-complementary
#803CBD #BABD3C #3CBD40
monochromatic
#411F60 #612D8F #803CBD #9E67CF #BC96DE
Accessibility & contrast
On white
6.37
#803CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#803CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #803CBD
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##803CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##803CBD | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#075FBA
Tritanopia (blue-blind)
#755978
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #803cbd; /* rgb */ color: rgb(128, 60, 189); /* oklch */ color: oklch(50.9% 0.194 304.5);
Tailwind
colors: {
custom: {
50: '#aa77d2',
500: '#803cbd',
950: '#000000',
},
}SCSS
$custom: #803cbd; $custom-light: #aa77d2; $custom-dark: #000000;
JSON
{
"hex": "#803cbd",
"rgb": {
"r": 128,
"g": 60,
"b": 189
},
"hsl": {
"h": 271.628,
"s": 51.807,
"l": 48.824
},
"oklch": {
"l": 0.50946,
"c": 0.19418,
"h": 304.5
},
"luminance": 0.11495
}Semantic roles & 50–950 ramp
primary
#803CBD
secondary
#A9C98C
accent
#DB4D90
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83