#784CC2#784CC2
#784CC2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.177 H 297.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #784CC2 |
|---|---|
| RGB | rgb(120, 76, 194) |
| HSL | hsl(262, 49%, 53%) |
| HSV | hsv(262, 61%, 76%) |
| CMYK | cmyk(38.1%, 60.8%, 0%, 23.9%) |
| CIE-LAB | lab(42.85, 44.06, -55.36) |
| CIE-LCH | lch(42.85, 70.75, 308.52°) |
| OKLab | oklab(52.61% 0.0806 -0.1575) |
| OKLCH | oklch(52.61% 0.177 297.1) |
| XYZ | xyz(20.0653, 13.0567, 52.4915) |
| Luminance | 0.1306 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.65
Bluey Purple
#6241C7
ΔE00 4.90
Light Indigo
#6D5ACF
ΔE00 5.19
Slate Blue
#6A5ACD
ΔE00 5.41
Iris
#6258C4
ΔE00 5.80
Bluish Purple
#703BE7
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784CC2 #96C24C
analogous
#4C5BC2 #784CC2 #B34CC2
triadic
#784CC2 #C2784C #4CC278
tetradic
#784CC2 #C24C5B #96C24C #4CC2B3
square
#784CC2 #C24C5B #96C24C #4CC2B3
split-complementary
#784CC2 #C2B34C #5BC24C
monochromatic
#41266E #5B359C #784CC2 #9A7AD2 #BDA7E1
Accessibility & contrast
On white
5.81
#784CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#784CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784CC2
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784CC2 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#1664BF
Tritanopia (blue-blind)
#666680
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #784cc2; /* rgb */ color: rgb(120, 76, 194); /* oklch */ color: oklch(52.6% 0.177 297.1);
Tailwind
colors: {
custom: {
50: '#a480d5',
500: '#784cc2',
950: '#000000',
},
}SCSS
$custom: #784cc2; $custom-light: #a480d5; $custom-dark: #000000;
JSON
{
"hex": "#784cc2",
"rgb": {
"r": 120,
"g": 76,
"b": 194
},
"hsl": {
"h": 262.373,
"s": 49.167,
"l": 52.941
},
"oklch": {
"l": 0.52613,
"c": 0.17687,
"h": 297.1
},
"luminance": 0.13057
}Semantic roles & 50–950 ramp
primary
#784CC2
secondary
#BBCE9B
accent
#D94FA5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83