#784ED2#784ED2
#784ED2 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.194 H 293.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #784ED2 |
|---|---|
| RGB | rgb(120, 78, 210) |
| HSL | hsl(259, 59%, 56%) |
| HSV | hsv(259, 63%, 82%) |
| CMYK | cmyk(42.9%, 62.9%, 0%, 17.6%) |
| CIE-LAB | lab(44.37, 47.25, -62.15) |
| CIE-LCH | lch(44.37, 78.07, 307.25°) |
| OKLab | oklab(54.07% 0.0773 -0.1774) |
| OKLCH | oklch(54.07% 0.194 293.5) |
| XYZ | xyz(22.0998, 14.0944, 62.5164) |
| Luminance | 0.1409 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.97
Slate Blue
#6A5ACD
ΔE00 4.35
Purpley
#8756E4
ΔE00 4.39
Bluish Purple
#703BE7
ΔE00 4.85
Bluey Purple
#6241C7
ΔE00 5.23
Iris
#6258C4
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784ED2 #A8D24E
analogous
#4E66D2 #784ED2 #BA4ED2
triadic
#784ED2 #D2784E #4ED278
tetradic
#784ED2 #D24E66 #A8D24E #4ED2BA
square
#784ED2 #D24E66 #A8D24E #4ED2BA
split-complementary
#784ED2 #D2BA4E #66D24E
monochromatic
#412284 #592EB5 #784ED2 #9D7FDE #C2B0EB
Accessibility & contrast
On white
5.50
#784ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#784ED2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784ED2
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784ED2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784ED2 | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#5F6C89
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #784ed2; /* rgb */ color: rgb(120, 78, 210); /* oklch */ color: oklch(54.1% 0.194 293.5);
Tailwind
colors: {
custom: {
50: '#a582e1',
500: '#784ed2',
950: '#000000',
},
}SCSS
$custom: #784ed2; $custom-light: #a582e1; $custom-dark: #000000;
JSON
{
"hex": "#784ed2",
"rgb": {
"r": 120,
"g": 78,
"b": 210
},
"hsl": {
"h": 259.091,
"s": 59.459,
"l": 56.471
},
"oklch": {
"l": 0.5407,
"c": 0.19351,
"h": 293.5
},
"luminance": 0.14095
}Semantic roles & 50–950 ramp
primary
#784ED2
secondary
#C8D9A3
accent
#E345B1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83