#784FC3#784FC3
#784FC3 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.174 H 296.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #784FC3 |
|---|---|
| RGB | rgb(120, 79, 195) |
| HSL | hsl(261, 49%, 54%) |
| HSV | hsv(261, 59%, 76%) |
| CMYK | cmyk(38.5%, 59.5%, 0%, 23.5%) |
| CIE-LAB | lab(43.54, 42.66, -54.82) |
| CIE-LCH | lch(43.54, 69.46, 307.89°) |
| OKLab | oklab(53.14% 0.077 -0.1559) |
| OKLCH | oklch(53.14% 0.174 296.3) |
| XYZ | xyz(20.3895, 13.5248, 53.1555) |
| Luminance | 0.1353 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.51
Royal Purple
#7851A9
ΔE00 4.63
Slate Blue
#6A5ACD
ΔE00 4.76
Iris
#6258C4
ΔE00 5.29
Bluey Purple
#6241C7
ΔE00 5.35
Purpley
#8756E4
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784FC3 #9AC34F
analogous
#4F60C3 #784FC3 #B24FC3
triadic
#784FC3 #C3784F #4FC378
tetradic
#784FC3 #C34F60 #9AC34F #4FC3B2
square
#784FC3 #C34F60 #9AC34F #4FC3B2
split-complementary
#784FC3 #C3B24F #60C34F
monochromatic
#412771 #5B369F #784FC3 #9B7DD3 #BEAAE2
Accessibility & contrast
On white
5.67
#784FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#784FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784FC3
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784FC3 | 1.00 | 5.67 | 3.71 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068C7
Deuteranopia (green-blind)
#1C65C0
Tritanopia (blue-blind)
#666881
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #784fc3; /* rgb */ color: rgb(120, 79, 195); /* oklch */ color: oklch(53.1% 0.174 296.3);
Tailwind
colors: {
custom: {
50: '#a482d6',
500: '#784fc3',
950: '#000000',
},
}SCSS
$custom: #784fc3; $custom-light: #a482d6; $custom-dark: #000000;
JSON
{
"hex": "#784fc3",
"rgb": {
"r": 120,
"g": 79,
"b": 195
},
"hsl": {
"h": 261.207,
"s": 49.153,
"l": 53.725
},
"oklch": {
"l": 0.53142,
"c": 0.17383,
"h": 296.3
},
"luminance": 0.13525
}Semantic roles & 50–950 ramp
primary
#784FC3
secondary
#BED09E
accent
#D94FA8
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83