#784DD6#784DD6
#784DD6 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.200 H 293.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #784DD6 |
|---|---|
| RGB | rgb(120, 77, 214) |
| HSL | hsl(259, 63%, 57%) |
| HSV | hsv(259, 64%, 84%) |
| CMYK | cmyk(43.9%, 64%, 0%, 16.1%) |
| CIE-LAB | lab(44.45, 48.88, -64.30) |
| CIE-LCH | lch(44.45, 80.77, 307.24°) |
| OKLab | oklab(54.22% 0.078 -0.1837) |
| OKLCH | oklch(54.22% 0.2 293) |
| XYZ | xyz(22.5339, 14.1552, 65.1502) |
| Luminance | 0.1416 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.18
Purpley
#8756E4
ΔE00 4.23
Bluish Purple
#703BE7
ΔE00 4.40
Slate Blue
#6A5ACD
ΔE00 4.57
Purpleish Blue
#6140EF
ΔE00 5.23
Bluey Purple
#6241C7
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784DD6 #ABD64D
analogous
#4D67D6 #784DD6 #BC4DD6
triadic
#784DD6 #D6784D #4DD678
tetradic
#784DD6 #D64D67 #ABD64D #4DD6BC
square
#784DD6 #D64D67 #ABD64D #4DD6BC
split-complementary
#784DD6 #D6BC4D #67D64D
monochromatic
#412089 #582BBB #784DD6 #9E7FE1 #C3B0ED
Accessibility & contrast
On white
5.48
#784DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#784DD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784DD6
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784DD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784DD6 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#5D6D8B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #784dd6; /* rgb */ color: rgb(120, 77, 214); /* oklch */ color: oklch(54.2% 0.200 293.0);
Tailwind
colors: {
custom: {
50: '#a681e4',
500: '#784dd6',
950: '#000000',
},
}SCSS
$custom: #784dd6; $custom-light: #a681e4; $custom-dark: #000000;
JSON
{
"hex": "#784dd6",
"rgb": {
"r": 120,
"g": 77,
"b": 214
},
"hsl": {
"h": 258.832,
"s": 62.557,
"l": 57.059
},
"oklch": {
"l": 0.54223,
"c": 0.1996,
"h": 293
},
"luminance": 0.14156
}Semantic roles & 50–950 ramp
primary
#784DD6
secondary
#CADBA4
accent
#E642B2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84