#803CB8#803CB8
#803CB8 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.189 H 305.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #803CB8 |
|---|---|
| RGB | rgb(128, 60, 184) |
| HSL | hsl(273, 51%, 48%) |
| HSV | hsv(273, 67%, 72%) |
| CMYK | cmyk(30.4%, 67.4%, 0%, 27.8%) |
| CIE-LAB | lab(40.05, 51.61, -53.98) |
| CIE-LCH | lch(40.05, 74.68, 313.72°) |
| OKLab | oklab(50.58% 0.1106 -0.1531) |
| OKLCH | oklch(50.58% 0.189 305.8) |
| XYZ | xyz(19.1678, 11.2818, 46.5059) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.79
Purply
#983FB2
ΔE00 5.40
Royal Purple
#7851A9
ΔE00 5.93
Blueviolet
#8A2BE2
ΔE00 5.93
Darkviolet
#9400D3
ΔE00 6.19
Bluey Purple
#6241C7
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#803CB8 #74B83C
analogous
#423CB8 #803CB8 #B83CB2
triadic
#803CB8 #B8803C #3CB880
tetradic
#803CB8 #B8423C #74B83C #3CB2B8
square
#803CB8 #B8423C #74B83C #3CB2B8
split-complementary
#803CB8 #B2B83C #3CB842
monochromatic
#401E5C #602D8A #803CB8 #9E65CD #BB93DC
Accessibility & contrast
On white
6.45
#803CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#803CB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #803CB8
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##803CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##803CB8 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#185FB5
Tritanopia (blue-blind)
#765775
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #803cb8; /* rgb */ color: rgb(128, 60, 184); /* oklch */ color: oklch(50.6% 0.189 305.8);
Tailwind
colors: {
custom: {
50: '#a977ce',
500: '#803cb8',
950: '#000000',
},
}SCSS
$custom: #803cb8; $custom-light: #a977ce; $custom-dark: #000000;
JSON
{
"hex": "#803cb8",
"rgb": {
"r": 128,
"g": 60,
"b": 184
},
"hsl": {
"h": 272.903,
"s": 50.82,
"l": 47.843
},
"oklch": {
"l": 0.50583,
"c": 0.18883,
"h": 305.8
},
"luminance": 0.11282
}Semantic roles & 50–950 ramp
primary
#803CB8
secondary
#A5C789
accent
#DA4D8D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82