#784BCD#784BCD
#784BCD is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.191 H 295.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #784BCD |
|---|---|
| RGB | rgb(120, 75, 205) |
| HSL | hsl(261, 57%, 55%) |
| HSV | hsv(261, 63%, 80%) |
| CMYK | cmyk(41.5%, 63.4%, 0%, 19.6%) |
| CIE-LAB | lab(43.41, 47.53, -60.83) |
| CIE-LCH | lch(43.41, 77.19, 308.01°) |
| OKLab | oklab(53.26% 0.0809 -0.1735) |
| OKLCH | oklch(53.26% 0.191 295) |
| XYZ | xyz(21.2783, 13.4325, 59.2174) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.61
Bluish Purple
#703BE7
ΔE00 4.73
Light Indigo
#6D5ACF
ΔE00 4.75
Slate Blue
#6A5ACD
ΔE00 5.04
Purpley
#8756E4
ΔE00 5.30
Iris
#6258C4
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784BCD #A0CD4B
analogous
#4B5FCD #784BCD #B94BCD
triadic
#784BCD #CD784B #4BCD78
tetradic
#784BCD #CD4B5F #A0CD4B #4BCDB9
square
#784BCD #CD4B5F #A0CD4B #4BCDB9
split-complementary
#784BCD #CDB94B #5FCD4B
monochromatic
#41227B #5A30AB #784BCD #9C7BDA #C0ABE8
Accessibility & contrast
On white
5.70
#784BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#784BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784BCD
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784BCD | 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)
#0068D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#626985
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #784bcd; /* rgb */ color: rgb(120, 75, 205); /* oklch */ color: oklch(53.3% 0.191 295.0);
Tailwind
colors: {
custom: {
50: '#a580dd',
500: '#784bcd',
950: '#000000',
},
}SCSS
$custom: #784bcd; $custom-light: #a580dd; $custom-dark: #000000;
JSON
{
"hex": "#784bcd",
"rgb": {
"r": 120,
"g": 75,
"b": 205
},
"hsl": {
"h": 260.769,
"s": 56.522,
"l": 54.902
},
"oklch": {
"l": 0.53261,
"c": 0.19148,
"h": 295
},
"luminance": 0.13433
}Semantic roles & 50–950 ramp
primary
#784BCD
secondary
#C2D59F
accent
#E048AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83