#804FD3#804FD3
#804FD3 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.1% C 0.194 H 296.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #804FD3 |
|---|---|
| RGB | rgb(128, 79, 211) |
| HSL | hsl(262, 60%, 57%) |
| HSV | hsv(262, 63%, 83%) |
| CMYK | cmyk(39.3%, 62.6%, 0%, 17.3%) |
| CIE-LAB | lab(45.47, 48.63, -60.89) |
| CIE-LCH | lch(45.47, 77.93, 308.61°) |
| OKLab | oklab(55.09% 0.0868 -0.1735) |
| OKLCH | oklch(55.09% 0.194 296.6) |
| XYZ | xyz(23.4529, 14.8839, 63.2526) |
| Luminance | 0.1488 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.45
Light Indigo
#6D5ACF
ΔE00 4.69
Slate Blue
#6A5ACD
ΔE00 5.18
Bluish Purple
#703BE7
ΔE00 5.63
Blueviolet
#8A2BE2
ΔE00 6.36
Iris
#6258C4
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#804FD3 #A2D34F
analogous
#4F60D3 #804FD3 #C24FD3
triadic
#804FD3 #D3804F #4FD380
tetradic
#804FD3 #D34F60 #A2D34F #4FD3C2
square
#804FD3 #D34F60 #A2D34F #4FD3C2
split-complementary
#804FD3 #D3C24F #60D34F
monochromatic
#472286 #612EB7 #804FD3 #A380DF #C7B1EB
Accessibility & contrast
On white
5.28
#804FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#804FD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #804FD3
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##804FD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##804FD3 | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#6C6D8A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #804fd3; /* rgb */ color: rgb(128, 79, 211); /* oklch */ color: oklch(55.1% 0.194 296.6);
Tailwind
colors: {
custom: {
50: '#aa83e1',
500: '#804fd3',
950: '#000000',
},
}SCSS
$custom: #804fd3; $custom-light: #aa83e1; $custom-dark: #000000;
JSON
{
"hex": "#804fd3",
"rgb": {
"r": 128,
"g": 79,
"b": 211
},
"hsl": {
"h": 262.273,
"s": 60,
"l": 56.863
},
"oklch": {
"l": 0.55088,
"c": 0.19397,
"h": 296.6
},
"luminance": 0.14884
}Semantic roles & 50–950 ramp
primary
#804FD3
secondary
#C6DAA4
accent
#E345A8
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110B15
muted
#807C83