#804CC3#804CC3
#804CC3 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.179 H 300.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #804CC3 |
|---|---|
| RGB | rgb(128, 76, 195) |
| HSL | hsl(266, 50%, 53%) |
| HSV | hsv(266, 61%, 76%) |
| CMYK | cmyk(34.4%, 61%, 0%, 23.5%) |
| CIE-LAB | lab(43.80, 46.12, -54.37) |
| CIE-LCH | lch(43.80, 71.30, 310.31°) |
| OKLab | oklab(53.53% 0.0912 -0.1543) |
| OKLCH | oklch(53.53% 0.179 300.6) |
| XYZ | xyz(21.3345, 13.6981, 53.1392) |
| Luminance | 0.1370 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.67
Purpley
#8756E4
ΔE00 5.85
Darkorchid
#9932CC
ΔE00 5.93
Light Indigo
#6D5ACF
ΔE00 6.00
Bluey Purple
#6241C7
ΔE00 6.21
Slate Blue
#6A5ACD
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#804CC3 #8FC34C
analogous
#4C53C3 #804CC3 #BB4CC3
triadic
#804CC3 #C3804C #4CC380
tetradic
#804CC3 #C34C53 #8FC34C #4CC3BB
square
#804CC3 #C34C53 #8FC34C #4CC3BB
split-complementary
#804CC3 #C3BB4C #53C34C
monochromatic
#46256F #62359D #804CC3 #A17AD2 #C1A8E2
Accessibility & contrast
On white
5.62
#804CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#804CC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #804CC3
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##804CC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##804CC3 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#2367C0
Tritanopia (blue-blind)
#726580
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #804cc3; /* rgb */ color: rgb(128, 76, 195); /* oklch */ color: oklch(53.5% 0.179 300.6);
Tailwind
colors: {
custom: {
50: '#a980d6',
500: '#804cc3',
950: '#000000',
},
}SCSS
$custom: #804cc3; $custom-light: #a980d6; $custom-dark: #000000;
JSON
{
"hex": "#804cc3",
"rgb": {
"r": 128,
"g": 76,
"b": 195
},
"hsl": {
"h": 266.218,
"s": 49.791,
"l": 53.137
},
"oklch": {
"l": 0.53526,
"c": 0.17922,
"h": 300.6
},
"luminance": 0.13698
}Semantic roles & 50–950 ramp
primary
#804CC3
secondary
#B9CF9C
accent
#D94E9D
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83