#784CD3#784CD3
#784CD3 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.197 H 293.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #784CD3 |
|---|---|
| RGB | rgb(120, 76, 211) |
| HSL | hsl(260, 61%, 56%) |
| HSV | hsv(260, 64%, 83%) |
| CMYK | cmyk(43.1%, 64%, 0%, 17.3%) |
| CIE-LAB | lab(44.04, 48.61, -63.26) |
| CIE-LCH | lch(44.04, 79.77, 307.54°) |
| OKLab | oklab(53.85% 0.0793 -0.1807) |
| OKLCH | oklch(53.85% 0.197 293.7) |
| XYZ | xyz(22.0849, 13.8645, 63.1279) |
| Luminance | 0.1386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.39
Bluish Purple
#703BE7
ΔE00 4.39
Purpley
#8756E4
ΔE00 4.62
Slate Blue
#6A5ACD
ΔE00 4.75
Bluey Purple
#6241C7
ΔE00 4.95
Purpleish Blue
#6140EF
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784CD3 #A7D34C
analogous
#4C64D3 #784CD3 #BC4CD3
triadic
#784CD3 #D3784C #4CD378
tetradic
#784CD3 #D34C64 #A7D34C #4CD3BC
square
#784CD3 #D34C64 #A7D34C #4CD3BC
split-complementary
#784CD3 #D3BC4C #64D34C
monochromatic
#412084 #592DB5 #784CD3 #9D7DDF #C2AEEB
Accessibility & contrast
On white
5.57
#784CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#784CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784CD3
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784CD3 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#5F6C89
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #784cd3; /* rgb */ color: rgb(120, 76, 211); /* oklch */ color: oklch(53.9% 0.197 293.7);
Tailwind
colors: {
custom: {
50: '#a580e1',
500: '#784cd3',
950: '#000000',
},
}SCSS
$custom: #784cd3; $custom-light: #a580e1; $custom-dark: #000000;
JSON
{
"hex": "#784cd3",
"rgb": {
"r": 120,
"g": 76,
"b": 211
},
"hsl": {
"h": 259.556,
"s": 60.538,
"l": 56.275
},
"oklch": {
"l": 0.53853,
"c": 0.19732,
"h": 293.7
},
"luminance": 0.13865
}Semantic roles & 50–950 ramp
primary
#784CD3
secondary
#C7D9A2
accent
#E444B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83