#784DC2#784DC2
#784DC2 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.175 H 296.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #784DC2 |
|---|---|
| RGB | rgb(120, 77, 194) |
| HSL | hsl(262, 49%, 53%) |
| HSV | hsv(262, 60%, 76%) |
| CMYK | cmyk(38.1%, 60.3%, 0%, 23.9%) |
| CIE-LAB | lab(43.06, 43.51, -55.02) |
| CIE-LCH | lch(43.06, 70.15, 308.33°) |
| OKLab | oklab(52.76% 0.0794 -0.1565) |
| OKLCH | oklch(52.76% 0.175 296.9) |
| XYZ | xyz(20.1347, 13.1955, 52.5147) |
| Luminance | 0.1320 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.58
Light Indigo
#6D5ACF
ΔE00 4.99
Bluey Purple
#6241C7
ΔE00 5.05
Slate Blue
#6A5ACD
ΔE00 5.21
Iris
#6258C4
ΔE00 5.64
Purpley
#8756E4
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784DC2 #97C24D
analogous
#4D5CC2 #784DC2 #B24DC2
triadic
#784DC2 #C2784D #4DC278
tetradic
#784DC2 #C24D5C #97C24D #4DC2B2
square
#784DC2 #C24D5C #97C24D #4DC2B2
split-complementary
#784DC2 #C2B24D #5CC24D
monochromatic
#41266F #5B369C #784DC2 #9B7BD2 #BDA8E1
Accessibility & contrast
On white
5.77
#784DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#784DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784DC2
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784DC2 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#1964BF
Tritanopia (blue-blind)
#666680
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #784dc2; /* rgb */ color: rgb(120, 77, 194); /* oklch */ color: oklch(52.8% 0.175 296.9);
Tailwind
colors: {
custom: {
50: '#a481d5',
500: '#784dc2',
950: '#000000',
},
}SCSS
$custom: #784dc2; $custom-light: #a481d5; $custom-dark: #000000;
JSON
{
"hex": "#784dc2",
"rgb": {
"r": 120,
"g": 77,
"b": 194
},
"hsl": {
"h": 262.051,
"s": 48.954,
"l": 53.137
},
"oklch": {
"l": 0.52765,
"c": 0.17545,
"h": 296.9
},
"luminance": 0.13196
}Semantic roles & 50–950 ramp
primary
#784DC2
secondary
#BCCF9C
accent
#D94FA6
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83