#784ED1#784ED1
#784ED1 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.192 H 293.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #784ED1 |
|---|---|
| RGB | rgb(120, 78, 209) |
| HSL | hsl(259, 59%, 56%) |
| HSV | hsv(259, 63%, 82%) |
| CMYK | cmyk(42.6%, 62.7%, 0%, 18%) |
| CIE-LAB | lab(44.30, 46.98, -61.69) |
| CIE-LCH | lch(44.30, 77.54, 307.29°) |
| OKLab | oklab(54% 0.0773 -0.1761) |
| OKLCH | oklch(54% 0.192 293.7) |
| XYZ | xyz(21.9756, 14.0447, 61.8623) |
| Luminance | 0.1404 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.98
Slate Blue
#6A5ACD
ΔE00 4.35
Purpley
#8756E4
ΔE00 4.48
Bluish Purple
#703BE7
ΔE00 4.92
Bluey Purple
#6241C7
ΔE00 5.19
Iris
#6258C4
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784ED1 #A7D14E
analogous
#4E66D1 #784ED1 #BA4ED1
triadic
#784ED1 #D1784E #4ED178
tetradic
#784ED1 #D14E66 #A7D14E #4ED1BA
square
#784ED1 #D14E66 #A7D14E #4ED1BA
split-complementary
#784ED1 #D1BA4E #66D14E
monochromatic
#412283 #592FB3 #784ED1 #9D7FDE #C2AFEA
Accessibility & contrast
On white
5.51
#784ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#784ED1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784ED1
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784ED1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784ED1 | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#606C88
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #784ed1; /* rgb */ color: rgb(120, 78, 209); /* oklch */ color: oklch(54.0% 0.192 293.7);
Tailwind
colors: {
custom: {
50: '#a582e0',
500: '#784ed1',
950: '#000000',
},
}SCSS
$custom: #784ed1; $custom-light: #a582e0; $custom-dark: #000000;
JSON
{
"hex": "#784ed1",
"rgb": {
"r": 120,
"g": 78,
"b": 209
},
"hsl": {
"h": 259.237,
"s": 58.744,
"l": 56.275
},
"oklch": {
"l": 0.53996,
"c": 0.1923,
"h": 293.7
},
"luminance": 0.14045
}Semantic roles & 50–950 ramp
primary
#784ED1
secondary
#C7D8A2
accent
#E246B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83