#804FCF#804FCF
#804FCF is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.8% C 0.189 H 297.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #804FCF |
|---|---|
| RGB | rgb(128, 79, 207) |
| HSL | hsl(263, 57%, 56%) |
| HSV | hsv(263, 62%, 81%) |
| CMYK | cmyk(38.2%, 61.8%, 0%, 18.8%) |
| CIE-LAB | lab(45.20, 47.59, -59.03) |
| CIE-LCH | lch(45.20, 75.83, 308.87°) |
| OKLab | oklab(54.8% 0.0871 -0.168) |
| OKLCH | oklch(54.8% 0.189 297.4) |
| XYZ | xyz(22.9577, 14.6858, 60.6445) |
| Luminance | 0.1469 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.91
Light Indigo
#6D5ACF
ΔE00 4.79
Slate Blue
#6A5ACD
ΔE00 5.25
Bluish Purple
#703BE7
ΔE00 5.91
Royal Purple
#7851A9
ΔE00 6.28
Iris
#6258C4
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#804FCF #9ECF4F
analogous
#4F5ECF #804FCF #C04FCF
triadic
#804FCF #CF804F #4FCF80
tetradic
#804FCF #CF4F5E #9ECF4F #4FCFC0
square
#804FCF #CF4F5E #9ECF4F #4FCFC0
split-complementary
#804FCF #CFC04F #5ECF4F
monochromatic
#472381 #6130B1 #804FCF #A37FDC #C5AFE9
Accessibility & contrast
On white
5.33
#804FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#804FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #804FCF
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##804FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##804FCF | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0E69CC
Tritanopia (blue-blind)
#6D6B88
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #804fcf; /* rgb */ color: rgb(128, 79, 207); /* oklch */ color: oklch(54.8% 0.189 297.4);
Tailwind
colors: {
custom: {
50: '#aa83de',
500: '#804fcf',
950: '#000000',
},
}SCSS
$custom: #804fcf; $custom-light: #aa83de; $custom-dark: #000000;
JSON
{
"hex": "#804fcf",
"rgb": {
"r": 128,
"g": 79,
"b": 207
},
"hsl": {
"h": 262.969,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.54802,
"c": 0.18923,
"h": 297.4
},
"luminance": 0.14686
}Semantic roles & 50–950 ramp
primary
#804FCF
secondary
#C3D7A2
accent
#E047A6
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100B15
muted
#7F7C83