#804CC1#804CC1
#804CC1 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.177 H 301.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #804CC1 |
|---|---|
| RGB | rgb(128, 76, 193) |
| HSL | hsl(267, 49%, 53%) |
| HSV | hsv(267, 61%, 76%) |
| CMYK | cmyk(33.7%, 60.6%, 0%, 24.3%) |
| CIE-LAB | lab(43.67, 45.62, -53.41) |
| CIE-LCH | lch(43.67, 70.24, 310.50°) |
| OKLab | oklab(53.39% 0.0913 -0.1515) |
| OKLCH | oklch(53.39% 0.177 301.1) |
| XYZ | xyz(21.1099, 13.6082, 51.9562) |
| Luminance | 0.1361 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.39
Darkorchid
#9932CC
ΔE00 5.95
Purpley
#8756E4
ΔE00 6.13
Light Indigo
#6D5ACF
ΔE00 6.17
Bluey Purple
#6241C7
ΔE00 6.31
Purply
#983FB2
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#804CC1 #8DC14C
analogous
#4C52C1 #804CC1 #BB4CC1
triadic
#804CC1 #C1804C #4CC180
tetradic
#804CC1 #C14C52 #8DC14C #4CC1BB
square
#804CC1 #C14C52 #8DC14C #4CC1BB
split-complementary
#804CC1 #C1BB4C #52C14C
monochromatic
#45266D #62359A #804CC1 #A079D1 #C1A7E0
Accessibility & contrast
On white
5.64
#804CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#804CC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #804CC1
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##804CC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##804CC1 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C5
Deuteranopia (green-blind)
#2767BE
Tritanopia (blue-blind)
#73657F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #804cc1; /* rgb */ color: rgb(128, 76, 193); /* oklch */ color: oklch(53.4% 0.177 301.1);
Tailwind
colors: {
custom: {
50: '#a980d4',
500: '#804cc1',
950: '#000000',
},
}SCSS
$custom: #804cc1; $custom-light: #a980d4; $custom-dark: #000000;
JSON
{
"hex": "#804cc1",
"rgb": {
"r": 128,
"g": 76,
"b": 193
},
"hsl": {
"h": 266.667,
"s": 48.548,
"l": 52.745
},
"oklch": {
"l": 0.53389,
"c": 0.17687,
"h": 301.1
},
"luminance": 0.13608
}Semantic roles & 50–950 ramp
primary
#804CC1
secondary
#B7CE9B
accent
#D8509B
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83