#804FDA#804FDA
#804FDA is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.6% C 0.202 H 295.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #804FDA |
|---|---|
| RGB | rgb(128, 79, 218) |
| HSL | hsl(261, 65%, 58%) |
| HSV | hsv(261, 64%, 85%) |
| CMYK | cmyk(41.3%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(45.96, 50.47, -64.10) |
| CIE-LCH | lch(45.96, 81.58, 308.22°) |
| OKLab | oklab(55.6% 0.0862 -0.1829) |
| OKLCH | oklch(55.6% 0.202 295.2) |
| XYZ | xyz(24.3496, 15.2426, 67.9753) |
| Luminance | 0.1524 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.77
Light Indigo
#6D5ACF
ΔE00 4.70
Slate Blue
#6A5ACD
ΔE00 5.23
Bluish Purple
#703BE7
ΔE00 5.30
Purpleish Blue
#6140EF
ΔE00 6.25
Blueviolet
#8A2BE2
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#804FDA #A9DA4F
analogous
#4F63DA #804FDA #C54FDA
triadic
#804FDA #DA804F #4FDA80
tetradic
#804FDA #DA4F63 #A9DA4F #4FDAC5
square
#804FDA #DA4F63 #A9DA4F #4FDAC5
split-complementary
#804FDA #DAC54F #63DA4F
monochromatic
#461E90 #5F29C3 #804FDA #A482E5 #C9B4EF
Accessibility & contrast
On white
5.19
#804FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#804FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #804FDA
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##804FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##804FDA | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#686F8D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #804fda; /* rgb */ color: rgb(128, 79, 218); /* oklch */ color: oklch(55.6% 0.202 295.2);
Tailwind
colors: {
custom: {
50: '#ab83e6',
500: '#804fda',
950: '#000000',
},
}SCSS
$custom: #804fda; $custom-light: #ab83e6; $custom-dark: #000000;
JSON
{
"hex": "#804fda",
"rgb": {
"r": 128,
"g": 79,
"b": 218
},
"hsl": {
"h": 261.151,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.55598,
"c": 0.2022,
"h": 295.2
},
"luminance": 0.15243
}Semantic roles & 50–950 ramp
primary
#804FDA
secondary
#CBDEA7
accent
#E840AD
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84