#804EBF#804EBF
#804EBF is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.172 H 301.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #804EBF |
|---|---|
| RGB | rgb(128, 78, 191) |
| HSL | hsl(267, 47%, 53%) |
| HSV | hsv(267, 59%, 75%) |
| CMYK | cmyk(33%, 59.2%, 0%, 25.1%) |
| CIE-LAB | lab(43.94, 44.03, -51.80) |
| CIE-LCH | lch(43.94, 67.99, 310.36°) |
| OKLab | oklab(53.55% 0.0889 -0.1468) |
| OKLCH | oklch(53.55% 0.172 301.2) |
| XYZ | xyz(21.0282, 13.7995, 50.8358) |
| Luminance | 0.1380 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.96
Deep Lavender
#8D5EB7
ΔE00 5.88
Light Indigo
#6D5ACF
ΔE00 6.06
Purpley
#8756E4
ΔE00 6.18
Darkorchid
#9932CC
ΔE00 6.35
Slate Blue
#6A5ACD
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#804EBF #8DBF4E
analogous
#4E54BF #804EBF #B94EBF
triadic
#804EBF #BF804E #4EBF80
tetradic
#804EBF #BF4E54 #8DBF4E #4EBFB9
square
#804EBF #BF4E54 #8DBF4E #4EBFB9
split-complementary
#804EBF #BFB94E #54BF4E
monochromatic
#45276C #623799 #804EBF #A07BCF #C1A8E0
Accessibility & contrast
On white
5.59
#804EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#804EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #804EBF
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##804EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##804EBF | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1367C3
Deuteranopia (green-blind)
#2D67BC
Tritanopia (blue-blind)
#73657F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #804ebf; /* rgb */ color: rgb(128, 78, 191); /* oklch */ color: oklch(53.6% 0.172 301.2);
Tailwind
colors: {
custom: {
50: '#a982d3',
500: '#804ebf',
950: '#000000',
},
}SCSS
$custom: #804ebf; $custom-light: #a982d3; $custom-dark: #000000;
JSON
{
"hex": "#804ebf",
"rgb": {
"r": 128,
"g": 78,
"b": 191
},
"hsl": {
"h": 266.549,
"s": 46.888,
"l": 52.745
},
"oklch": {
"l": 0.53551,
"c": 0.17158,
"h": 301.2
},
"luminance": 0.138
}Semantic roles & 50–950 ramp
primary
#804EBF
secondary
#B7CD9C
accent
#D7519C
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83