#784ED0#784ED0
#784ED0 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.191 H 293.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #784ED0 |
|---|---|
| RGB | rgb(120, 78, 208) |
| HSL | hsl(259, 58%, 56%) |
| HSV | hsv(259, 63%, 82%) |
| CMYK | cmyk(42.3%, 62.5%, 0%, 18.4%) |
| CIE-LAB | lab(44.23, 46.71, -61.23) |
| CIE-LCH | lch(44.23, 77.01, 307.34°) |
| OKLab | oklab(53.92% 0.0774 -0.1747) |
| OKLCH | oklch(53.92% 0.191 293.9) |
| XYZ | xyz(21.8522, 13.9953, 61.2123) |
| Luminance | 0.1400 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.00
Slate Blue
#6A5ACD
ΔE00 4.36
Purpley
#8756E4
ΔE00 4.57
Bluish Purple
#703BE7
ΔE00 4.99
Bluey Purple
#6241C7
ΔE00 5.16
Iris
#6258C4
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784ED0 #A6D04E
analogous
#4E65D0 #784ED0 #B94ED0
triadic
#784ED0 #D0784E #4ED078
tetradic
#784ED0 #D04E65 #A6D04E #4ED0B9
square
#784ED0 #D04E65 #A6D04E #4ED0B9
split-complementary
#784ED0 #D0B94E #65D04E
monochromatic
#412281 #592FB2 #784ED0 #9D7EDD #C2AFEA
Accessibility & contrast
On white
5.53
#784ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#784ED0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784ED0
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784ED0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784ED0 | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#606C88
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #784ed0; /* rgb */ color: rgb(120, 78, 208); /* oklch */ color: oklch(53.9% 0.191 293.9);
Tailwind
colors: {
custom: {
50: '#a582df',
500: '#784ed0',
950: '#000000',
},
}SCSS
$custom: #784ed0; $custom-light: #a582df; $custom-dark: #000000;
JSON
{
"hex": "#784ed0",
"rgb": {
"r": 120,
"g": 78,
"b": 208
},
"hsl": {
"h": 259.385,
"s": 58.036,
"l": 56.078
},
"oklch": {
"l": 0.53922,
"c": 0.1911,
"h": 293.9
},
"luminance": 0.13996
}Semantic roles & 50–950 ramp
primary
#784ED0
secondary
#C6D8A2
accent
#E147AF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83