#784ED3#784ED3
#784ED3 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.195 H 293.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #784ED3 |
|---|---|
| RGB | rgb(120, 78, 211) |
| HSL | hsl(259, 60%, 57%) |
| HSV | hsv(259, 63%, 83%) |
| CMYK | cmyk(43.1%, 63%, 0%, 17.3%) |
| CIE-LAB | lab(44.44, 47.52, -62.60) |
| CIE-LCH | lch(44.44, 78.60, 307.20°) |
| OKLab | oklab(54.14% 0.0772 -0.1788) |
| OKLCH | oklch(54.14% 0.195 293.3) |
| XYZ | xyz(22.2248, 14.1444, 63.1745) |
| Luminance | 0.1414 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.96
Purpley
#8756E4
ΔE00 4.31
Slate Blue
#6A5ACD
ΔE00 4.35
Bluish Purple
#703BE7
ΔE00 4.78
Bluey Purple
#6241C7
ΔE00 5.28
Iris
#6258C4
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784ED3 #A9D34E
analogous
#4E67D3 #784ED3 #BA4ED3
triadic
#784ED3 #D3784E #4ED378
tetradic
#784ED3 #D34E67 #A9D34E #4ED3BA
square
#784ED3 #D34E67 #A9D34E #4ED3BA
split-complementary
#784ED3 #D3BA4E #67D34E
monochromatic
#412185 #592DB6 #784ED3 #9D7FDF #C3B0EB
Accessibility & contrast
On white
5.48
#784ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#784ED3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784ED3
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784ED3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784ED3 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#5F6D89
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #784ed3; /* rgb */ color: rgb(120, 78, 211); /* oklch */ color: oklch(54.1% 0.195 293.3);
Tailwind
colors: {
custom: {
50: '#a582e1',
500: '#784ed3',
950: '#000000',
},
}SCSS
$custom: #784ed3; $custom-light: #a582e1; $custom-dark: #000000;
JSON
{
"hex": "#784ed3",
"rgb": {
"r": 120,
"g": 78,
"b": 211
},
"hsl": {
"h": 258.947,
"s": 60.181,
"l": 56.667
},
"oklch": {
"l": 0.54144,
"c": 0.19471,
"h": 293.3
},
"luminance": 0.14145
}Semantic roles & 50–950 ramp
primary
#784ED3
secondary
#C8DAA3
accent
#E344B1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83