#784FC2#784FC2
#784FC2 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.173 H 296.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #784FC2 |
|---|---|
| RGB | rgb(120, 79, 194) |
| HSL | hsl(261, 49%, 54%) |
| HSV | hsv(261, 59%, 76%) |
| CMYK | cmyk(38.1%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(43.48, 42.39, -54.34) |
| CIE-LCH | lch(43.48, 68.92, 307.96°) |
| OKLab | oklab(53.07% 0.077 -0.1545) |
| OKLCH | oklch(53.07% 0.173 296.5) |
| XYZ | xyz(20.2768, 13.4797, 52.5620) |
| Luminance | 0.1348 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.47
Light Indigo
#6D5ACF
ΔE00 4.60
Slate Blue
#6A5ACD
ΔE00 4.84
Iris
#6258C4
ΔE00 5.33
Bluey Purple
#6241C7
ΔE00 5.39
Purpley
#8756E4
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784FC2 #99C24F
analogous
#4F5FC2 #784FC2 #B14FC2
triadic
#784FC2 #C2784F #4FC278
tetradic
#784FC2 #C24F5F #99C24F #4FC2B1
square
#784FC2 #C24F5F #99C24F #4FC2B1
split-complementary
#784FC2 #C2B14F #5FC24F
monochromatic
#412770 #5B379D #784FC2 #9B7CD2 #BEAAE2
Accessibility & contrast
On white
5.68
#784FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#784FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784FC2
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784FC2 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0167C6
Deuteranopia (green-blind)
#1E65BF
Tritanopia (blue-blind)
#666881
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #784fc2; /* rgb */ color: rgb(120, 79, 194); /* oklch */ color: oklch(53.1% 0.173 296.5);
Tailwind
colors: {
custom: {
50: '#a482d5',
500: '#784fc2',
950: '#000000',
},
}SCSS
$custom: #784fc2; $custom-light: #a482d5; $custom-dark: #000000;
JSON
{
"hex": "#784fc2",
"rgb": {
"r": 120,
"g": 79,
"b": 194
},
"hsl": {
"h": 261.391,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.53072,
"c": 0.1726,
"h": 296.5
},
"luminance": 0.1348
}Semantic roles & 50–950 ramp
primary
#784FC2
secondary
#BDCF9E
accent
#D850A7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83