#784FC5#784FC5
#784FC5 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.176 H 295.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #784FC5 |
|---|---|
| RGB | rgb(120, 79, 197) |
| HSL | hsl(261, 50%, 54%) |
| HSV | hsv(261, 60%, 77%) |
| CMYK | cmyk(39.1%, 59.9%, 0%, 22.7%) |
| CIE-LAB | lab(43.68, 43.19, -55.76) |
| CIE-LCH | lch(43.68, 70.54, 307.76°) |
| OKLab | oklab(53.28% 0.0769 -0.1587) |
| OKLCH | oklch(53.28% 0.176 295.9) |
| XYZ | xyz(20.6171, 13.6159, 54.3544) |
| Luminance | 0.1362 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.34
Slate Blue
#6A5ACD
ΔE00 4.61
Royal Purple
#7851A9
ΔE00 4.94
Iris
#6258C4
ΔE00 5.23
Bluey Purple
#6241C7
ΔE00 5.29
Purpley
#8756E4
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784FC5 #9CC54F
analogous
#4F61C5 #784FC5 #B34FC5
triadic
#784FC5 #C5784F #4FC578
tetradic
#784FC5 #C54F61 #9CC54F #4FC5B3
square
#784FC5 #C54F61 #9CC54F #4FC5B3
split-complementary
#784FC5 #C5B34F #61C54F
monochromatic
#412674 #5B35A2 #784FC5 #9B7DD4 #BFABE3
Accessibility & contrast
On white
5.64
#784FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#784FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784FC5
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784FC5 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#1866C2
Tritanopia (blue-blind)
#656982
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #784fc5; /* rgb */ color: rgb(120, 79, 197); /* oklch */ color: oklch(53.3% 0.176 295.9);
Tailwind
colors: {
custom: {
50: '#a482d7',
500: '#784fc5',
950: '#000000',
},
}SCSS
$custom: #784fc5; $custom-light: #a482d7; $custom-dark: #000000;
JSON
{
"hex": "#784fc5",
"rgb": {
"r": 120,
"g": 79,
"b": 197
},
"hsl": {
"h": 260.847,
"s": 50.427,
"l": 54.118
},
"oklch": {
"l": 0.53282,
"c": 0.1763,
"h": 295.9
},
"luminance": 0.13616
}Semantic roles & 50–950 ramp
primary
#784FC5
secondary
#C0D19F
accent
#DA4EA9
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83