#784AC0#784AC0
#784AC0 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.177 H 297.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #784AC0 |
|---|---|
| RGB | rgb(120, 74, 192) |
| HSL | hsl(263, 48%, 52%) |
| HSV | hsv(263, 61%, 75%) |
| CMYK | cmyk(37.5%, 61.5%, 0%, 24.7%) |
| CIE-LAB | lab(42.30, 44.63, -55.08) |
| CIE-LCH | lch(42.30, 70.89, 309.02°) |
| OKLab | oklab(52.17% 0.083 -0.1566) |
| OKLCH | oklch(52.17% 0.177 297.9) |
| XYZ | xyz(19.7065, 12.6961, 51.2713) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.55
Bluey Purple
#6241C7
ΔE00 4.73
Light Indigo
#6D5ACF
ΔE00 5.76
Slate Blue
#6A5ACD
ΔE00 5.96
Bluish Purple
#703BE7
ΔE00 6.14
Iris
#6258C4
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784AC0 #92C04A
analogous
#4A57C0 #784AC0 #B34AC0
triadic
#784AC0 #C0784A #4AC078
tetradic
#784AC0 #C04A57 #92C04A #4AC0B3
square
#784AC0 #C04A57 #92C04A #4AC0B3
split-complementary
#784AC0 #C0B34A #57C04A
monochromatic
#40256B #5B3598 #784AC0 #9A77D0 #BCA5E0
Accessibility & contrast
On white
5.93
#784AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#784AC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784AC0
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784AC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784AC0 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#1663BD
Tritanopia (blue-blind)
#67647E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #784ac0; /* rgb */ color: rgb(120, 74, 192); /* oklch */ color: oklch(52.2% 0.177 297.9);
Tailwind
colors: {
custom: {
50: '#a47fd4',
500: '#784ac0',
950: '#000000',
},
}SCSS
$custom: #784ac0; $custom-light: #a47fd4; $custom-dark: #000000;
JSON
{
"hex": "#784ac0",
"rgb": {
"r": 120,
"g": 74,
"b": 192
},
"hsl": {
"h": 263.39,
"s": 48.361,
"l": 52.157
},
"oklch": {
"l": 0.52172,
"c": 0.17726,
"h": 297.9
},
"luminance": 0.12696
}Semantic roles & 50–950 ramp
primary
#784AC0
secondary
#B9CD99
accent
#D850A3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83