#803BBD#803BBD
#803BBD is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.195 H 304.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #803BBD |
|---|---|
| RGB | rgb(128, 59, 189) |
| HSL | hsl(272, 52%, 49%) |
| HSV | hsv(272, 69%, 74%) |
| CMYK | cmyk(32.3%, 68.8%, 0%, 25.9%) |
| CIE-LAB | lab(40.23, 53.27, -56.62) |
| CIE-LCH | lch(40.23, 77.74, 313.25°) |
| OKLab | oklab(50.82% 0.111 -0.1608) |
| OKLCH | oklch(50.82% 0.195 304.6) |
| XYZ | xyz(19.6493, 11.3913, 49.2978) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.52
Blueviolet
#8A2BE2
ΔE00 5.19
Darkviolet
#9400D3
ΔE00 5.74
Purply
#983FB2
ΔE00 5.81
Bluey Purple
#6241C7
ΔE00 5.86
Royal Purple
#7851A9
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#803BBD #78BD3B
analogous
#3F3BBD #803BBD #BD3BB9
triadic
#803BBD #BD803B #3BBD80
tetradic
#803BBD #BD3F3B #78BD3B #3BB9BD
square
#803BBD #BD3F3B #78BD3B #3BB9BD
split-complementary
#803BBD #B9BD3B #3BBD3F
monochromatic
#411E60 #602C8E #803BBD #9E66CF #BB95DE
Accessibility & contrast
On white
6.41
#803BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#803BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #803BBD
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##803BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##803BBD | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#035FBA
Tritanopia (blue-blind)
#755977
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #803bbd; /* rgb */ color: rgb(128, 59, 189); /* oklch */ color: oklch(50.8% 0.195 304.6);
Tailwind
colors: {
custom: {
50: '#aa76d2',
500: '#803bbd',
950: '#000000',
},
}SCSS
$custom: #803bbd; $custom-light: #aa76d2; $custom-dark: #000000;
JSON
{
"hex": "#803bbd",
"rgb": {
"r": 128,
"g": 59,
"b": 189
},
"hsl": {
"h": 271.846,
"s": 52.419,
"l": 48.627
},
"oklch": {
"l": 0.50824,
"c": 0.19545,
"h": 304.6
},
"luminance": 0.11391
}Semantic roles & 50–950 ramp
primary
#803BBD
secondary
#A8C98B
accent
#DC4C8F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83