#784DCF#784DCF
#784DCF is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.7% C 0.191 H 294.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #784DCF |
|---|---|
| RGB | rgb(120, 77, 207) |
| HSL | hsl(260, 58%, 56%) |
| HSV | hsv(260, 63%, 81%) |
| CMYK | cmyk(42%, 62.8%, 0%, 18.8%) |
| CIE-LAB | lab(43.95, 46.99, -61.10) |
| CIE-LCH | lch(43.95, 77.07, 307.56°) |
| OKLab | oklab(53.7% 0.0786 -0.1743) |
| OKLCH | oklch(53.7% 0.191 294.3) |
| XYZ | xyz(21.6591, 13.8053, 60.5429) |
| Luminance | 0.1381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.24
Slate Blue
#6A5ACD
ΔE00 4.58
Purpley
#8756E4
ΔE00 4.81
Bluish Purple
#703BE7
ΔE00 4.89
Bluey Purple
#6241C7
ΔE00 4.96
Iris
#6258C4
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784DCF #A4CF4D
analogous
#4D63CF #784DCF #B94DCF
triadic
#784DCF #CF784D #4DCF78
tetradic
#784DCF #CF4D63 #A4CF4D #4DCFB9
square
#784DCF #CF4D63 #A4CF4D #4DCFB9
split-complementary
#784DCF #CFB94D #63CF4D
monochromatic
#41227F #5A2FAF #784DCF #9D7DDC #C1ADE9
Accessibility & contrast
On white
5.58
#784DCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#784DCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784DCF
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784DCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784DCF | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#616B87
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #784dcf; /* rgb */ color: rgb(120, 77, 207); /* oklch */ color: oklch(53.7% 0.191 294.3);
Tailwind
colors: {
custom: {
50: '#a581de',
500: '#784dcf',
950: '#000000',
},
}SCSS
$custom: #784dcf; $custom-light: #a581de; $custom-dark: #000000;
JSON
{
"hex": "#784dcf",
"rgb": {
"r": 120,
"g": 77,
"b": 207
},
"hsl": {
"h": 259.846,
"s": 57.522,
"l": 55.686
},
"oklch": {
"l": 0.53701,
"c": 0.19122,
"h": 294.3
},
"luminance": 0.13806
}Semantic roles & 50–950 ramp
primary
#784DCF
secondary
#C5D7A1
accent
#E147AE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83