#804AC1#804AC1
#804AC1 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.1% C 0.180 H 301.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #804AC1 |
|---|---|
| RGB | rgb(128, 74, 193) |
| HSL | hsl(267, 49%, 52%) |
| HSV | hsv(267, 62%, 76%) |
| CMYK | cmyk(33.7%, 61.7%, 0%, 24.3%) |
| CIE-LAB | lab(43.27, 46.69, -54.06) |
| CIE-LCH | lch(43.27, 71.43, 310.82°) |
| OKLab | oklab(53.1% 0.0937 -0.1534) |
| OKLCH | oklch(53.1% 0.18 301.4) |
| XYZ | xyz(20.9742, 13.3369, 51.9110) |
| Luminance | 0.1334 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.57
Darkorchid
#9932CC
ΔE00 5.62
Bluey Purple
#6241C7
ΔE00 6.09
Purply
#983FB2
ΔE00 6.24
Purpley
#8756E4
ΔE00 6.39
Blueviolet
#8A2BE2
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#804AC1 #8BC14A
analogous
#4A50C1 #804AC1 #BC4AC1
triadic
#804AC1 #C1804A #4AC180
tetradic
#804AC1 #C14A50 #8BC14A #4AC1BC
square
#804AC1 #C14A50 #8BC14A #4AC1BC
split-complementary
#804AC1 #C1BC4A #50C14A
monochromatic
#45256C #623599 #804AC1 #A078D1 #C0A5E0
Accessibility & contrast
On white
5.73
#804AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#804AC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #804AC1
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##804AC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##804AC1 | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#2366BE
Tritanopia (blue-blind)
#73637E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #804ac1; /* rgb */ color: rgb(128, 74, 193); /* oklch */ color: oklch(53.1% 0.180 301.4);
Tailwind
colors: {
custom: {
50: '#a97fd4',
500: '#804ac1',
950: '#000000',
},
}SCSS
$custom: #804ac1; $custom-light: #a97fd4; $custom-dark: #000000;
JSON
{
"hex": "#804ac1",
"rgb": {
"r": 128,
"g": 74,
"b": 193
},
"hsl": {
"h": 267.227,
"s": 48.971,
"l": 52.353
},
"oklch": {
"l": 0.53098,
"c": 0.17972,
"h": 301.4
},
"luminance": 0.13337
}Semantic roles & 50–950 ramp
primary
#804AC1
secondary
#B6CD99
accent
#D94F9A
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83