#784AC3#784AC3
#784AC3 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.181 H 297.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #784AC3 |
|---|---|
| RGB | rgb(120, 74, 195) |
| HSL | hsl(263, 50%, 53%) |
| HSV | hsv(263, 62%, 76%) |
| CMYK | cmyk(38.5%, 62.1%, 0%, 23.5%) |
| CIE-LAB | lab(42.51, 45.42, -56.49) |
| CIE-LCH | lch(42.51, 72.49, 308.80°) |
| OKLab | oklab(52.39% 0.0828 -0.1608) |
| OKLCH | oklch(52.39% 0.181 297.3) |
| XYZ | xyz(20.0423, 12.8304, 53.0398) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.58
Royal Purple
#7851A9
ΔE00 4.97
Light Indigo
#6D5ACF
ΔE00 5.52
Slate Blue
#6A5ACD
ΔE00 5.74
Bluish Purple
#703BE7
ΔE00 5.74
Iris
#6258C4
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784AC3 #95C34A
analogous
#4A58C3 #784AC3 #B44AC3
triadic
#784AC3 #C3784A #4AC378
tetradic
#784AC3 #C34A58 #95C34A #4AC3B4
square
#784AC3 #C34A58 #95C34A #4AC3B4
split-complementary
#784AC3 #C3B44A #58C34A
monochromatic
#40246E #5B349C #784AC3 #9A78D2 #BDA6E1
Accessibility & contrast
On white
5.89
#784AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#784AC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784AC3
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784AC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784AC3 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#0C63C0
Tritanopia (blue-blind)
#666580
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #784ac3; /* rgb */ color: rgb(120, 74, 195); /* oklch */ color: oklch(52.4% 0.181 297.3);
Tailwind
colors: {
custom: {
50: '#a47fd6',
500: '#784ac3',
950: '#000000',
},
}SCSS
$custom: #784ac3; $custom-light: #a47fd6; $custom-dark: #000000;
JSON
{
"hex": "#784ac3",
"rgb": {
"r": 120,
"g": 74,
"b": 195
},
"hsl": {
"h": 262.81,
"s": 50.207,
"l": 52.745
},
"oklch": {
"l": 0.52386,
"c": 0.18087,
"h": 297.3
},
"luminance": 0.12831
}Semantic roles & 50–950 ramp
primary
#784AC3
secondary
#BBCF9A
accent
#DA4EA5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83