#784CCA#784CCA
#784CCA is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.2% C 0.187 H 295.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #784CCA |
|---|---|
| RGB | rgb(120, 76, 202) |
| HSL | hsl(261, 54%, 55%) |
| HSV | hsv(261, 62%, 79%) |
| CMYK | cmyk(40.6%, 62.4%, 0%, 20.8%) |
| CIE-LAB | lab(43.40, 46.19, -59.11) |
| CIE-LCH | lch(43.40, 75.01, 308.00°) |
| OKLab | oklab(53.19% 0.0801 -0.1685) |
| OKLCH | oklch(53.19% 0.187 295.4) |
| XYZ | xyz(20.9880, 13.4258, 57.3513) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.65
Bluey Purple
#6241C7
ΔE00 4.73
Slate Blue
#6A5ACD
ΔE00 4.94
Bluish Purple
#703BE7
ΔE00 5.19
Purpley
#8756E4
ΔE00 5.44
Iris
#6258C4
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784CCA #9ECA4C
analogous
#4C5FCA #784CCA #B74CCA
triadic
#784CCA #CA784C #4CCA78
tetradic
#784CCA #CA4C5F #9ECA4C #4CCAB7
square
#784CCA #CA4C5F #9ECA4C #4CCAB7
split-complementary
#784CCA #CAB74C #5FCA4C
monochromatic
#412478 #5B32A7 #784CCA #9C7BD8 #BFAAE6
Accessibility & contrast
On white
5.70
#784CCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#784CCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784CCA
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784CCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784CCA | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#636884
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #784cca; /* rgb */ color: rgb(120, 76, 202); /* oklch */ color: oklch(53.2% 0.187 295.4);
Tailwind
colors: {
custom: {
50: '#a580db',
500: '#784cca',
950: '#000000',
},
}SCSS
$custom: #784cca; $custom-light: #a580db; $custom-dark: #000000;
JSON
{
"hex": "#784cca",
"rgb": {
"r": 120,
"g": 76,
"b": 202
},
"hsl": {
"h": 260.952,
"s": 54.31,
"l": 54.51
},
"oklch": {
"l": 0.53187,
"c": 0.18655,
"h": 295.4
},
"luminance": 0.13426
}Semantic roles & 50–950 ramp
primary
#784CCA
secondary
#C1D49E
accent
#DE4AAA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83