#804CC2#804CC2
#804CC2 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.178 H 300.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #804CC2 |
|---|---|
| RGB | rgb(128, 76, 194) |
| HSL | hsl(266, 49%, 53%) |
| HSV | hsv(266, 61%, 76%) |
| CMYK | cmyk(34%, 60.8%, 0%, 23.9%) |
| CIE-LAB | lab(43.73, 45.87, -53.89) |
| CIE-LCH | lch(43.73, 70.77, 310.40°) |
| OKLab | oklab(53.46% 0.0913 -0.1529) |
| OKLCH | oklch(53.46% 0.178 300.8) |
| XYZ | xyz(21.2218, 13.6530, 52.5457) |
| Luminance | 0.1365 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.53
Darkorchid
#9932CC
ΔE00 5.94
Purpley
#8756E4
ΔE00 5.99
Light Indigo
#6D5ACF
ΔE00 6.08
Bluey Purple
#6241C7
ΔE00 6.26
Slate Blue
#6A5ACD
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#804CC2 #8EC24C
analogous
#4C53C2 #804CC2 #BB4CC2
triadic
#804CC2 #C2804C #4CC280
tetradic
#804CC2 #C24C53 #8EC24C #4CC2BB
square
#804CC2 #C24C53 #8EC24C #4CC2BB
split-complementary
#804CC2 #C2BB4C #53C24C
monochromatic
#45266E #62359C #804CC2 #A07AD2 #C1A7E1
Accessibility & contrast
On white
5.63
#804CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#804CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #804CC2
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##804CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##804CC2 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#2567BF
Tritanopia (blue-blind)
#726580
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #804cc2; /* rgb */ color: rgb(128, 76, 194); /* oklch */ color: oklch(53.5% 0.178 300.8);
Tailwind
colors: {
custom: {
50: '#a980d5',
500: '#804cc2',
950: '#000000',
},
}SCSS
$custom: #804cc2; $custom-light: #a980d5; $custom-dark: #000000;
JSON
{
"hex": "#804cc2",
"rgb": {
"r": 128,
"g": 76,
"b": 194
},
"hsl": {
"h": 266.441,
"s": 49.167,
"l": 52.941
},
"oklch": {
"l": 0.53457,
"c": 0.17805,
"h": 300.8
},
"luminance": 0.13653
}Semantic roles & 50–950 ramp
primary
#804CC2
secondary
#B8CE9B
accent
#D94F9C
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83