#784FC7#784FC7
#784FC7 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.179 H 295.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #784FC7 |
|---|---|
| RGB | rgb(120, 79, 199) |
| HSL | hsl(261, 52%, 55%) |
| HSV | hsv(261, 60%, 78%) |
| CMYK | cmyk(39.7%, 60.3%, 0%, 22%) |
| CIE-LAB | lab(43.81, 43.73, -56.71) |
| CIE-LCH | lch(43.81, 71.61, 307.64°) |
| OKLab | oklab(53.42% 0.0768 -0.1614) |
| OKLCH | oklch(53.42% 0.179 295.4) |
| XYZ | xyz(20.8478, 13.7081, 55.5693) |
| Luminance | 0.1371 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.19
Slate Blue
#6A5ACD
ΔE00 4.48
Iris
#6258C4
ΔE00 5.18
Royal Purple
#7851A9
ΔE00 5.24
Bluey Purple
#6241C7
ΔE00 5.25
Purpley
#8756E4
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784FC7 #9EC74F
analogous
#4F62C7 #784FC7 #B44FC7
triadic
#784FC7 #C7784F #4FC778
tetradic
#784FC7 #C74F62 #9EC74F #4FC7B4
square
#784FC7 #C74F62 #9EC74F #4FC7B4
split-complementary
#784FC7 #C7B44F #62C74F
monochromatic
#412676 #5B34A4 #784FC7 #9C7DD6 #BFACE5
Accessibility & contrast
On white
5.61
#784FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#784FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784FC7
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784FC7 | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#1266C4
Tritanopia (blue-blind)
#646983
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #784fc7; /* rgb */ color: rgb(120, 79, 199); /* oklch */ color: oklch(53.4% 0.179 295.4);
Tailwind
colors: {
custom: {
50: '#a482d9',
500: '#784fc7',
950: '#000000',
},
}SCSS
$custom: #784fc7; $custom-light: #a482d9; $custom-dark: #000000;
JSON
{
"hex": "#784fc7",
"rgb": {
"r": 120,
"g": 79,
"b": 199
},
"hsl": {
"h": 260.5,
"s": 51.724,
"l": 54.51
},
"oklch": {
"l": 0.53423,
"c": 0.17876,
"h": 295.4
},
"luminance": 0.13709
}Semantic roles & 50–950 ramp
primary
#784FC7
secondary
#C1D2A0
accent
#DB4DAA
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A15
muted
#7F7C83