#784CD0#784CD0
#784CD0 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.6% C 0.194 H 294.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #784CD0 |
|---|---|
| RGB | rgb(120, 76, 208) |
| HSL | hsl(260, 58%, 56%) |
| HSV | hsv(260, 63%, 82%) |
| CMYK | cmyk(42.3%, 63.5%, 0%, 18.4%) |
| CIE-LAB | lab(43.82, 47.80, -61.88) |
| CIE-LCH | lch(43.82, 78.19, 307.68°) |
| OKLab | oklab(53.63% 0.0796 -0.1766) |
| OKLCH | oklch(53.63% 0.194 294.3) |
| XYZ | xyz(21.7123, 13.7155, 61.1657) |
| Luminance | 0.1372 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.44
Bluish Purple
#703BE7
ΔE00 4.63
Slate Blue
#6A5ACD
ΔE00 4.77
Bluey Purple
#6241C7
ΔE00 4.83
Purpley
#8756E4
ΔE00 4.87
Iris
#6258C4
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784CD0 #A4D04C
analogous
#4C62D0 #784CD0 #BA4CD0
triadic
#784CD0 #D0784C #4CD078
tetradic
#784CD0 #D04C62 #A4D04C #4CD0BA
square
#784CD0 #D04C62 #A4D04C #4CD0BA
split-complementary
#784CD0 #D0BA4C #62D04C
monochromatic
#412280 #5A2EB0 #784CD0 #9D7CDD #C1ADE9
Accessibility & contrast
On white
5.61
#784CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#784CD0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784CD0
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784CD0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784CD0 | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D4
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#606B87
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #784cd0; /* rgb */ color: rgb(120, 76, 208); /* oklch */ color: oklch(53.6% 0.194 294.3);
Tailwind
colors: {
custom: {
50: '#a580df',
500: '#784cd0',
950: '#000000',
},
}SCSS
$custom: #784cd0; $custom-light: #a580df; $custom-dark: #000000;
JSON
{
"hex": "#784cd0",
"rgb": {
"r": 120,
"g": 76,
"b": 208
},
"hsl": {
"h": 260,
"s": 58.407,
"l": 55.686
},
"oklch": {
"l": 0.53629,
"c": 0.19374,
"h": 294.3
},
"luminance": 0.13716
}Semantic roles & 50–950 ramp
primary
#784CD0
secondary
#C5D7A0
accent
#E246AE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83