#804BCD#804BCD
#804BCD is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.192 H 298.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #804BCD |
|---|---|
| RGB | rgb(128, 75, 205) |
| HSL | hsl(264, 57%, 55%) |
| HSV | hsv(264, 63%, 80%) |
| CMYK | cmyk(37.6%, 63.4%, 0%, 19.6%) |
| CIE-LAB | lab(44.27, 49.20, -59.38) |
| CIE-LCH | lch(44.27, 77.12, 309.64°) |
| OKLab | oklab(54.09% 0.0917 -0.169) |
| OKLCH | oklch(54.09% 0.192 298.5) |
| XYZ | xyz(22.4348, 14.0288, 59.2716) |
| Luminance | 0.1403 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.77
Bluish Purple
#703BE7
ΔE00 5.44
Light Indigo
#6D5ACF
ΔE00 5.54
Blueviolet
#8A2BE2
ΔE00 5.69
Darkorchid
#9932CC
ΔE00 5.90
Bluey Purple
#6241C7
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#804BCD #98CD4B
analogous
#4B57CD #804BCD #C14BCD
triadic
#804BCD #CD804B #4BCD80
tetradic
#804BCD #CD4B57 #98CD4B #4BCDC1
square
#804BCD #CD4B57 #98CD4B #4BCDC1
split-complementary
#804BCD #CDC14B #57CD4B
monochromatic
#47227B #6230AB #804BCD #A27BDA #C4ABE8
Accessibility & contrast
On white
5.52
#804BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#804BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #804BCD
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##804BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##804BCD | 1.00 | 5.52 | 3.81 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0267CA
Tritanopia (blue-blind)
#6E6885
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #804bcd; /* rgb */ color: rgb(128, 75, 205); /* oklch */ color: oklch(54.1% 0.192 298.5);
Tailwind
colors: {
custom: {
50: '#aa80dd',
500: '#804bcd',
950: '#000000',
},
}SCSS
$custom: #804bcd; $custom-light: #aa80dd; $custom-dark: #000000;
JSON
{
"hex": "#804bcd",
"rgb": {
"r": 128,
"g": 75,
"b": 205
},
"hsl": {
"h": 264.462,
"s": 56.522,
"l": 54.902
},
"oklch": {
"l": 0.54087,
"c": 0.19231,
"h": 298.5
},
"luminance": 0.14029
}Semantic roles & 50–950 ramp
primary
#804BCD
secondary
#BFD59F
accent
#E048A2
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100A15
muted
#7F7C83