#804ABF#804ABF
#804ABF is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.177 H 301.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #804ABF |
|---|---|
| RGB | rgb(128, 74, 191) |
| HSL | hsl(268, 48%, 52%) |
| HSV | hsv(268, 61%, 75%) |
| CMYK | cmyk(33%, 61.3%, 0%, 25.1%) |
| CIE-LAB | lab(43.13, 46.19, -53.10) |
| CIE-LCH | lch(43.13, 70.38, 311.01°) |
| OKLab | oklab(52.96% 0.0938 -0.1506) |
| OKLCH | oklch(52.96% 0.177 301.9) |
| XYZ | xyz(20.7526, 13.2483, 50.7440) |
| Luminance | 0.1325 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.31
Darkorchid
#9932CC
ΔE00 5.66
Purply
#983FB2
ΔE00 6.06
Bluey Purple
#6241C7
ΔE00 6.21
Blueviolet
#8A2BE2
ΔE00 6.59
Purpley
#8756E4
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#804ABF #89BF4A
analogous
#4A4FBF #804ABF #BA4ABF
triadic
#804ABF #BF804A #4ABF80
tetradic
#804ABF #BF4A4F #89BF4A #4ABFBA
square
#804ABF #BF4A4F #89BF4A #4ABFBA
split-complementary
#804ABF #BFBA4A #4FBF4A
monochromatic
#452569 #623597 #804ABF #A077CF #BFA4DF
Accessibility & contrast
On white
5.75
#804ABF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#804ABF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #804ABF
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##804ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##804ABF | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2665BC
Tritanopia (blue-blind)
#73637D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #804abf; /* rgb */ color: rgb(128, 74, 191); /* oklch */ color: oklch(53.0% 0.177 301.9);
Tailwind
colors: {
custom: {
50: '#a97fd3',
500: '#804abf',
950: '#000000',
},
}SCSS
$custom: #804abf; $custom-light: #a97fd3; $custom-dark: #000000;
JSON
{
"hex": "#804abf",
"rgb": {
"r": 128,
"g": 74,
"b": 191
},
"hsl": {
"h": 267.692,
"s": 47.755,
"l": 51.961
},
"oklch": {
"l": 0.52961,
"c": 0.17738,
"h": 301.9
},
"luminance": 0.13248
}Semantic roles & 50–950 ramp
primary
#804ABF
secondary
#B4CC99
accent
#D75099
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83