#784AC5#784AC5
#784AC5 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.183 H 296.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #784AC5 |
|---|---|
| RGB | rgb(120, 74, 197) |
| HSL | hsl(262, 51%, 53%) |
| HSV | hsv(262, 62%, 77%) |
| CMYK | cmyk(39.1%, 62.4%, 0%, 22.7%) |
| CIE-LAB | lab(42.64, 45.95, -57.43) |
| CIE-LCH | lch(42.64, 73.55, 308.66°) |
| OKLab | oklab(52.53% 0.0827 -0.1635) |
| OKLCH | oklch(52.53% 0.183 296.8) |
| XYZ | xyz(20.2700, 12.9215, 54.2387) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.51
Royal Purple
#7851A9
ΔE00 5.24
Light Indigo
#6D5ACF
ΔE00 5.38
Bluish Purple
#703BE7
ΔE00 5.49
Slate Blue
#6A5ACD
ΔE00 5.61
Iris
#6258C4
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784AC5 #97C54A
analogous
#4A59C5 #784AC5 #B54AC5
triadic
#784AC5 #C5784A #4AC578
tetradic
#784AC5 #C54A59 #97C54A #4AC5B5
square
#784AC5 #C54A59 #97C54A #4AC5B5
split-complementary
#784AC5 #C5B54A #59C54A
monochromatic
#412471 #5B339F #784AC5 #9B78D4 #BDA7E3
Accessibility & contrast
On white
5.86
#784AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#784AC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784AC5
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784AC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784AC5 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#0263C2
Tritanopia (blue-blind)
#656581
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #784ac5; /* rgb */ color: rgb(120, 74, 197); /* oklch */ color: oklch(52.5% 0.183 296.8);
Tailwind
colors: {
custom: {
50: '#a47fd7',
500: '#784ac5',
950: '#000000',
},
}SCSS
$custom: #784ac5; $custom-light: #a47fd7; $custom-dark: #000000;
JSON
{
"hex": "#784ac5",
"rgb": {
"r": 120,
"g": 74,
"b": 197
},
"hsl": {
"h": 262.439,
"s": 51.464,
"l": 53.137
},
"oklch": {
"l": 0.5253,
"c": 0.18327,
"h": 296.8
},
"luminance": 0.12922
}Semantic roles & 50–950 ramp
primary
#784AC5
secondary
#BCD09B
accent
#DB4DA6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83