#784AC2#784AC2
#784AC2 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.180 H 297.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #784AC2 |
|---|---|
| RGB | rgb(120, 74, 194) |
| HSL | hsl(263, 50%, 53%) |
| HSV | hsv(263, 62%, 76%) |
| CMYK | cmyk(38.1%, 61.9%, 0%, 23.9%) |
| CIE-LAB | lab(42.44, 45.16, -56.02) |
| CIE-LCH | lch(42.44, 71.96, 308.87°) |
| OKLab | oklab(52.31% 0.0829 -0.1594) |
| OKLCH | oklch(52.31% 0.18 297.5) |
| XYZ | xyz(19.9296, 12.7854, 52.4463) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.63
Royal Purple
#7851A9
ΔE00 4.83
Light Indigo
#6D5ACF
ΔE00 5.60
Slate Blue
#6A5ACD
ΔE00 5.81
Bluish Purple
#703BE7
ΔE00 5.87
Iris
#6258C4
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784AC2 #94C24A
analogous
#4A58C2 #784AC2 #B44AC2
triadic
#784AC2 #C2784A #4AC278
tetradic
#784AC2 #C24A58 #94C24A #4AC2B4
square
#784AC2 #C24A58 #94C24A #4AC2B4
split-complementary
#784AC2 #C2B44A #58C24A
monochromatic
#40256D #5B349B #784AC2 #9A78D1 #BCA6E1
Accessibility & contrast
On white
5.90
#784AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#784AC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784AC2
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784AC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784AC2 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0F63BF
Tritanopia (blue-blind)
#66647F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #784ac2; /* rgb */ color: rgb(120, 74, 194); /* oklch */ color: oklch(52.3% 0.180 297.5);
Tailwind
colors: {
custom: {
50: '#a47fd5',
500: '#784ac2',
950: '#000000',
},
}SCSS
$custom: #784ac2; $custom-light: #a47fd5; $custom-dark: #000000;
JSON
{
"hex": "#784ac2",
"rgb": {
"r": 120,
"g": 74,
"b": 194
},
"hsl": {
"h": 263,
"s": 49.587,
"l": 52.549
},
"oklch": {
"l": 0.52314,
"c": 0.17966,
"h": 297.5
},
"luminance": 0.12786
}Semantic roles & 50–950 ramp
primary
#784AC2
secondary
#BACE9A
accent
#D94FA4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83