#784BCA#784BCA
#784BCA is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.188 H 295.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #784BCA |
|---|---|
| RGB | rgb(120, 75, 202) |
| HSL | hsl(261, 55%, 54%) |
| HSV | hsv(261, 63%, 79%) |
| CMYK | cmyk(40.6%, 62.9%, 0%, 20.8%) |
| CIE-LAB | lab(43.20, 46.73, -59.44) |
| CIE-LCH | lch(43.20, 75.61, 308.18°) |
| OKLab | oklab(53.04% 0.0812 -0.1694) |
| OKLCH | oklch(53.04% 0.188 295.6) |
| XYZ | xyz(20.9197, 13.2890, 57.3285) |
| Luminance | 0.1329 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.58
Light Indigo
#6D5ACF
ΔE00 4.87
Bluish Purple
#703BE7
ΔE00 5.04
Slate Blue
#6A5ACD
ΔE00 5.15
Purpley
#8756E4
ΔE00 5.59
Iris
#6258C4
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784BCA #9DCA4B
analogous
#4B5ECA #784BCA #B84BCA
triadic
#784BCA #CA784B #4BCA78
tetradic
#784BCA #CA4B5E #9DCA4B #4BCAB8
square
#784BCA #CA4B5E #9DCA4B #4BCAB8
split-complementary
#784BCA #CAB84B #5ECA4B
monochromatic
#412377 #5B31A7 #784BCA #9B7AD8 #BFAAE6
Accessibility & contrast
On white
5.74
#784BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#784BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784BCA
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784BCA | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#636884
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #784bca; /* rgb */ color: rgb(120, 75, 202); /* oklch */ color: oklch(53.0% 0.188 295.6);
Tailwind
colors: {
custom: {
50: '#a580db',
500: '#784bca',
950: '#000000',
},
}SCSS
$custom: #784bca; $custom-light: #a580db; $custom-dark: #000000;
JSON
{
"hex": "#784bca",
"rgb": {
"r": 120,
"g": 75,
"b": 202
},
"hsl": {
"h": 261.26,
"s": 54.506,
"l": 54.314
},
"oklch": {
"l": 0.5304,
"c": 0.1879,
"h": 295.6
},
"luminance": 0.13289
}Semantic roles & 50–950 ramp
primary
#784BCA
secondary
#C0D39D
accent
#DE4AA9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83