#784FC0#784FC0
#784FC0 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.170 H 296.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #784FC0 |
|---|---|
| RGB | rgb(120, 79, 192) |
| HSL | hsl(262, 47%, 53%) |
| HSV | hsv(262, 59%, 75%) |
| CMYK | cmyk(37.5%, 58.9%, 0%, 24.7%) |
| CIE-LAB | lab(43.35, 41.86, -53.39) |
| CIE-LCH | lch(43.35, 67.85, 308.10°) |
| OKLab | oklab(52.93% 0.077 -0.1517) |
| OKLCH | oklch(52.93% 0.17 296.9) |
| XYZ | xyz(20.0537, 13.3905, 51.3870) |
| Luminance | 0.1339 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.16
Light Indigo
#6D5ACF
ΔE00 4.79
Slate Blue
#6A5ACD
ΔE00 5.01
Iris
#6258C4
ΔE00 5.43
Bluey Purple
#6241C7
ΔE00 5.48
Purpley
#8756E4
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784FC0 #97C04F
analogous
#4F5EC0 #784FC0 #B04FC0
triadic
#784FC0 #C0784F #4FC078
tetradic
#784FC0 #C04F5E #97C04F #4FC0B0
square
#784FC0 #C04F5E #97C04F #4FC0B0
split-complementary
#784FC0 #C0B04F #5EC04F
monochromatic
#41276D #5B379A #784FC0 #9B7CD0 #BDA9E0
Accessibility & contrast
On white
5.71
#784FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#784FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784FC0
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784FC0 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A67C4
Deuteranopia (green-blind)
#2265BD
Tritanopia (blue-blind)
#676780
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #784fc0; /* rgb */ color: rgb(120, 79, 192); /* oklch */ color: oklch(52.9% 0.170 296.9);
Tailwind
colors: {
custom: {
50: '#a382d4',
500: '#784fc0',
950: '#000000',
},
}SCSS
$custom: #784fc0; $custom-light: #a382d4; $custom-dark: #000000;
JSON
{
"hex": "#784fc0",
"rgb": {
"r": 120,
"g": 79,
"b": 192
},
"hsl": {
"h": 261.77,
"s": 47.28,
"l": 53.137
},
"oklch": {
"l": 0.52934,
"c": 0.17013,
"h": 296.9
},
"luminance": 0.13391
}Semantic roles & 50–950 ramp
primary
#784FC0
secondary
#BCCE9D
accent
#D751A6
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83