#804CC0#804CC0
#804CC0 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.176 H 301.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #804CC0 |
|---|---|
| RGB | rgb(128, 76, 192) |
| HSL | hsl(267, 48%, 53%) |
| HSV | hsv(267, 60%, 75%) |
| CMYK | cmyk(33.3%, 60.4%, 0%, 24.7%) |
| CIE-LAB | lab(43.60, 45.37, -52.94) |
| CIE-LCH | lch(43.60, 69.72, 310.60°) |
| OKLab | oklab(53.32% 0.0913 -0.1501) |
| OKLCH | oklch(53.32% 0.176 301.3) |
| XYZ | xyz(20.9987, 13.5638, 51.3707) |
| Luminance | 0.1356 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.25
Darkorchid
#9932CC
ΔE00 5.97
Light Indigo
#6D5ACF
ΔE00 6.26
Purpley
#8756E4
ΔE00 6.26
Purply
#983FB2
ΔE00 6.32
Deep Lavender
#8D5EB7
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#804CC0 #8CC04C
analogous
#4C52C0 #804CC0 #BA4CC0
triadic
#804CC0 #C0804C #4CC080
tetradic
#804CC0 #C04C52 #8CC04C #4CC0BA
square
#804CC0 #C04C52 #8CC04C #4CC0BA
split-complementary
#804CC0 #C0BA4C #52C04C
monochromatic
#45266C #623699 #804CC0 #A079D0 #C0A7E0
Accessibility & contrast
On white
5.66
#804CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#804CC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #804CC0
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##804CC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##804CC0 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0366C4
Deuteranopia (green-blind)
#2866BD
Tritanopia (blue-blind)
#73647F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #804cc0; /* rgb */ color: rgb(128, 76, 192); /* oklch */ color: oklch(53.3% 0.176 301.3);
Tailwind
colors: {
custom: {
50: '#a980d4',
500: '#804cc0',
950: '#000000',
},
}SCSS
$custom: #804cc0; $custom-light: #a980d4; $custom-dark: #000000;
JSON
{
"hex": "#804cc0",
"rgb": {
"r": 128,
"g": 76,
"b": 192
},
"hsl": {
"h": 266.897,
"s": 47.934,
"l": 52.549
},
"oklch": {
"l": 0.53321,
"c": 0.17569,
"h": 301.3
},
"luminance": 0.13564
}Semantic roles & 50–950 ramp
primary
#804CC0
secondary
#B7CD9B
accent
#D8509B
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83