#784DC5#784DC5
#784DC5 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.179 H 296.3°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #784DC5 |
|---|---|
| RGB | rgb(120, 77, 197) |
| HSL | hsl(262, 51%, 54%) |
| HSV | hsv(262, 61%, 77%) |
| CMYK | cmyk(39.1%, 60.9%, 0%, 22.7%) |
| CIE-LAB | lab(43.26, 44.31, -56.44) |
| CIE-LCH | lch(43.26, 71.75, 308.13°) |
| OKLab | oklab(52.98% 0.0792 -0.1606) |
| OKLCH | oklch(52.98% 0.179 296.3) |
| XYZ | xyz(20.4750, 13.3317, 54.3070) |
| Luminance | 0.1333 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.75
Bluey Purple
#6241C7
ΔE00 4.95
Slate Blue
#6A5ACD
ΔE00 5.00
Royal Purple
#7851A9
ΔE00 5.03
Iris
#6258C4
ΔE00 5.53
Purpley
#8756E4
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784DC5 #9AC54D
analogous
#4D5EC5 #784DC5 #B44DC5
triadic
#784DC5 #C5784D #4DC578
tetradic
#784DC5 #C54D5E #9AC54D #4DC5B4
square
#784DC5 #C54D5E #9AC54D #4DC5B4
split-complementary
#784DC5 #C5B44D #5EC54D
monochromatic
#412572 #5B34A0 #784DC5 #9B7BD4 #BEA9E3
Accessibility & contrast
On white
5.73
#784DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#784DC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784DC5
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784DC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784DC5 | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#1165C2
Tritanopia (blue-blind)
#656782
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #784dc5; /* rgb */ color: rgb(120, 77, 197); /* oklch */ color: oklch(53.0% 0.179 296.3);
Tailwind
colors: {
custom: {
50: '#a481d7',
500: '#784dc5',
950: '#000000',
},
}SCSS
$custom: #784dc5; $custom-light: #a481d7; $custom-dark: #000000;
JSON
{
"hex": "#784dc5",
"rgb": {
"r": 120,
"g": 77,
"b": 197
},
"hsl": {
"h": 261.5,
"s": 50.847,
"l": 53.725
},
"oklch": {
"l": 0.52977,
"c": 0.17912,
"h": 296.3
},
"luminance": 0.13332
}Semantic roles & 50–950 ramp
primary
#784DC5
secondary
#BED19D
accent
#DA4DA8
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83