#784BC2#784BC2
#784BC2 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.178 H 297.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #784BC2 |
|---|---|
| RGB | rgb(120, 75, 194) |
| HSL | hsl(263, 49%, 53%) |
| HSV | hsv(263, 61%, 76%) |
| CMYK | cmyk(38.1%, 61.3%, 0%, 23.9%) |
| CIE-LAB | lab(42.64, 44.61, -55.69) |
| CIE-LCH | lch(42.64, 71.36, 308.70°) |
| OKLab | oklab(52.46% 0.0817 -0.1584) |
| OKLCH | oklch(52.46% 0.178 297.3) |
| XYZ | xyz(19.9969, 12.9199, 52.4687) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.73
Bluey Purple
#6241C7
ΔE00 4.76
Light Indigo
#6D5ACF
ΔE00 5.39
Slate Blue
#6A5ACD
ΔE00 5.61
Iris
#6258C4
ΔE00 5.97
Bluish Purple
#703BE7
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784BC2 #95C24B
analogous
#4B59C2 #784BC2 #B44BC2
triadic
#784BC2 #C2784B #4BC278
tetradic
#784BC2 #C24B59 #95C24B #4BC2B4
square
#784BC2 #C24B59 #95C24B #4BC2B4
split-complementary
#784BC2 #C2B44B #59C24B
monochromatic
#40256D #5B359B #784BC2 #9A79D1 #BDA6E1
Accessibility & contrast
On white
5.86
#784BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#784BC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784BC2
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784BC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784BC2 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#1363BF
Tritanopia (blue-blind)
#66657F
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #784bc2; /* rgb */ color: rgb(120, 75, 194); /* oklch */ color: oklch(52.5% 0.178 297.3);
Tailwind
colors: {
custom: {
50: '#a47fd5',
500: '#784bc2',
950: '#000000',
},
}SCSS
$custom: #784bc2; $custom-light: #a47fd5; $custom-dark: #000000;
JSON
{
"hex": "#784bc2",
"rgb": {
"r": 120,
"g": 75,
"b": 194
},
"hsl": {
"h": 262.689,
"s": 49.378,
"l": 52.745
},
"oklch": {
"l": 0.52463,
"c": 0.17827,
"h": 297.3
},
"luminance": 0.1292
}Semantic roles & 50–950 ramp
primary
#784BC2
secondary
#BBCE9B
accent
#D94FA5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83