#784BCC#784BCC
#784BCC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.2% C 0.190 H 295.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #784BCC |
|---|---|
| RGB | rgb(120, 75, 204) |
| HSL | hsl(261, 56%, 55%) |
| HSV | hsv(261, 63%, 80%) |
| CMYK | cmyk(41.2%, 63.2%, 0%, 20%) |
| CIE-LAB | lab(43.34, 47.27, -60.36) |
| CIE-LCH | lch(43.34, 76.67, 308.06°) |
| OKLab | oklab(53.19% 0.081 -0.1722) |
| OKLCH | oklch(53.19% 0.19 295.2) |
| XYZ | xyz(21.1580, 13.3844, 58.5837) |
| Luminance | 0.1338 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.59
Light Indigo
#6D5ACF
ΔE00 4.78
Bluish Purple
#703BE7
ΔE00 4.83
Slate Blue
#6A5ACD
ΔE00 5.07
Purpley
#8756E4
ΔE00 5.39
Iris
#6258C4
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784BCC #9FCC4B
analogous
#4B5FCC #784BCC #B84BCC
triadic
#784BCC #CC784B #4BCC78
tetradic
#784BCC #CC4B5F #9FCC4B #4BCCB8
square
#784BCC #CC4B5F #9FCC4B #4BCCB8
split-complementary
#784BCC #CCB84B #5FCC4B
monochromatic
#41237A #5B30AA #784BCC #9C7BDA #C0AAE7
Accessibility & contrast
On white
5.71
#784BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#784BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784BCC
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784BCC | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#626985
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #784bcc; /* rgb */ color: rgb(120, 75, 204); /* oklch */ color: oklch(53.2% 0.190 295.2);
Tailwind
colors: {
custom: {
50: '#a580dc',
500: '#784bcc',
950: '#000000',
},
}SCSS
$custom: #784bcc; $custom-light: #a580dc; $custom-dark: #000000;
JSON
{
"hex": "#784bcc",
"rgb": {
"r": 120,
"g": 75,
"b": 204
},
"hsl": {
"h": 260.93,
"s": 55.844,
"l": 54.706
},
"oklch": {
"l": 0.53187,
"c": 0.19028,
"h": 295.2
},
"luminance": 0.13385
}Semantic roles & 50–950 ramp
primary
#784BCC
secondary
#C2D59E
accent
#DF49AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83