#803AB9#803AB9
#803AB9 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.192 H 305.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #803AB9 |
|---|---|
| RGB | rgb(128, 58, 185) |
| HSL | hsl(273, 52%, 48%) |
| HSV | hsv(273, 69%, 73%) |
| CMYK | cmyk(30.8%, 68.6%, 0%, 27.5%) |
| CIE-LAB | lab(39.78, 52.80, -55.01) |
| CIE-LCH | lch(39.78, 76.25, 313.83°) |
| OKLab | oklab(50.41% 0.1126 -0.1561) |
| OKLCH | oklch(50.41% 0.192 305.8) |
| XYZ | xyz(19.1702, 11.1182, 47.0257) |
| Luminance | 0.1112 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.72
Purply
#983FB2
ΔE00 5.59
Blueviolet
#8A2BE2
ΔE00 5.70
Darkviolet
#9400D3
ΔE00 5.83
Bluey Purple
#6241C7
ΔE00 6.24
Royal Purple
#7851A9
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#803AB9 #73B93A
analogous
#413AB9 #803AB9 #B93AB2
triadic
#803AB9 #B9803A #3AB980
tetradic
#803AB9 #B9413A #73B93A #3AB2B9
square
#803AB9 #B9413A #73B93A #3AB2B9
split-complementary
#803AB9 #B2B93A #3AB941
monochromatic
#401D5C #602B8A #803AB9 #9E62CE #BB91DC
Accessibility & contrast
On white
6.51
#803AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#803AB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #803AB9
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##803AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##803AB9 | 1.00 | 6.51 | 3.22 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#105EB6
Tritanopia (blue-blind)
#765675
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #803ab9; /* rgb */ color: rgb(128, 58, 185); /* oklch */ color: oklch(50.4% 0.192 305.8);
Tailwind
colors: {
custom: {
50: '#a975cf',
500: '#803ab9',
950: '#000000',
},
}SCSS
$custom: #803ab9; $custom-light: #a975cf; $custom-dark: #000000;
JSON
{
"hex": "#803ab9",
"rgb": {
"r": 128,
"g": 58,
"b": 185
},
"hsl": {
"h": 273.071,
"s": 52.263,
"l": 47.647
},
"oklch": {
"l": 0.50411,
"c": 0.19248,
"h": 305.8
},
"luminance": 0.11118
}Semantic roles & 50–950 ramp
primary
#803AB9
secondary
#A4C787
accent
#DC4C8D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82