#804FBC#804FBC
#804FBC is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.5% C 0.166 H 301.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #804FBC |
|---|---|
| RGB | rgb(128, 79, 188) |
| HSL | hsl(267, 45%, 52%) |
| HSV | hsv(267, 58%, 74%) |
| CMYK | cmyk(31.9%, 58%, 0%, 26.3%) |
| CIE-LAB | lab(43.96, 42.72, -50.03) |
| CIE-LCH | lch(43.96, 65.79, 310.50°) |
| OKLab | oklab(53.5% 0.0877 -0.1415) |
| OKLCH | oklch(53.5% 0.166 301.8) |
| XYZ | xyz(20.7731, 13.8119, 49.1388) |
| Luminance | 0.1381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.46
Deep Lavender
#8D5EB7
ΔE00 5.50
Light Indigo
#6D5ACF
ΔE00 6.25
Purply
#983FB2
ΔE00 6.33
Purpley
#8756E4
ΔE00 6.53
Slate Blue
#6A5ACD
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#804FBC #8BBC4F
analogous
#4F55BC #804FBC #B64FBC
triadic
#804FBC #BC804F #4FBC80
tetradic
#804FBC #BC4F55 #8BBC4F #4FBCB6
square
#804FBC #BC4F55 #8BBC4F #4FBCB6
split-complementary
#804FBC #BCB64F #55BC4F
monochromatic
#452869 #623995 #804FBC #A07BCD #C0A8DE
Accessibility & contrast
On white
5.58
#804FBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#804FBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #804FBC
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##804FBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##804FBC | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D67C0
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#74657E
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #804fbc; /* rgb */ color: rgb(128, 79, 188); /* oklch */ color: oklch(53.5% 0.166 301.8);
Tailwind
colors: {
custom: {
50: '#a882d1',
500: '#804fbc',
950: '#000000',
},
}SCSS
$custom: #804fbc; $custom-light: #a882d1; $custom-dark: #000000;
JSON
{
"hex": "#804fbc",
"rgb": {
"r": 128,
"g": 79,
"b": 188
},
"hsl": {
"h": 266.972,
"s": 44.856,
"l": 52.353
},
"oklch": {
"l": 0.53503,
"c": 0.16649,
"h": 301.8
},
"luminance": 0.13812
}Semantic roles & 50–950 ramp
primary
#804FBC
secondary
#B6CB9C
accent
#D5539A
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82