#803CBE#803CBE
#803CBE is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.0% C 0.195 H 304.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #803CBE |
|---|---|
| RGB | rgb(128, 60, 190) |
| HSL | hsl(271, 52%, 49%) |
| HSV | hsv(271, 68%, 75%) |
| CMYK | cmyk(32.6%, 68.4%, 0%, 25.5%) |
| CIE-LAB | lab(40.47, 53.03, -56.82) |
| CIE-LCH | lch(40.47, 77.72, 313.03°) |
| OKLab | oklab(51.02% 0.1098 -0.1614) |
| OKLCH | oklch(51.02% 0.195 304.2) |
| XYZ | xyz(19.8101, 11.5387, 49.8888) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.49
Blueviolet
#8A2BE2
ΔE00 5.10
Bluey Purple
#6241C7
ΔE00 5.76
Purply
#983FB2
ΔE00 5.84
Darkviolet
#9400D3
ΔE00 5.84
Royal Purple
#7851A9
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#803CBE #7ABE3C
analogous
#3F3CBE #803CBE #BE3CBB
triadic
#803CBE #BE803C #3CBE80
tetradic
#803CBE #BE3F3C #7ABE3C #3CBBBE
square
#803CBE #BE3F3C #7ABE3C #3CBBBE
split-complementary
#803CBE #BBBE3C #3CBE3F
monochromatic
#411F61 #612D8F #803CBE #9E68CF #BC96DE
Accessibility & contrast
On white
6.35
#803CBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#803CBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #803CBE
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##803CBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##803CBE | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#035FBB
Tritanopia (blue-blind)
#745A78
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #803cbe; /* rgb */ color: rgb(128, 60, 190); /* oklch */ color: oklch(51.0% 0.195 304.2);
Tailwind
colors: {
custom: {
50: '#aa77d2',
500: '#803cbe',
950: '#000000',
},
}SCSS
$custom: #803cbe; $custom-light: #aa77d2; $custom-dark: #000000;
JSON
{
"hex": "#803cbe",
"rgb": {
"r": 128,
"g": 60,
"b": 190
},
"hsl": {
"h": 271.385,
"s": 52,
"l": 49.02
},
"oklch": {
"l": 0.51019,
"c": 0.19525,
"h": 304.2
},
"luminance": 0.11539
}Semantic roles & 50–950 ramp
primary
#803CBE
secondary
#A9CA8C
accent
#DB4C91
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83