#784CBF#784CBF
#784CBF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.173 H 297.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #784CBF |
|---|---|
| RGB | rgb(120, 76, 191) |
| HSL | hsl(263, 47%, 52%) |
| HSV | hsv(263, 60%, 75%) |
| CMYK | cmyk(37.2%, 60.2%, 0%, 25.1%) |
| CIE-LAB | lab(42.65, 43.27, -53.94) |
| CIE-LCH | lch(42.65, 69.15, 308.74°) |
| OKLab | oklab(52.4% 0.0807 -0.1533) |
| OKLCH | oklch(52.4% 0.173 297.8) |
| XYZ | xyz(19.7318, 12.9233, 50.7350) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.20
Bluey Purple
#6241C7
ΔE00 5.06
Light Indigo
#6D5ACF
ΔE00 5.46
Slate Blue
#6A5ACD
ΔE00 5.65
Iris
#6258C4
ΔE00 5.95
Bluish Purple
#703BE7
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784CBF #93BF4C
analogous
#4C59BF #784CBF #B24CBF
triadic
#784CBF #BF784C #4CBF78
tetradic
#784CBF #BF4C59 #93BF4C #4CBFB2
square
#784CBF #BF4C59 #93BF4C #4CBFB2
split-complementary
#784CBF #BFB24C #59BF4C
monochromatic
#40266B #5B3698 #784CBF #9A79CF #BCA6DF
Accessibility & contrast
On white
5.86
#784CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#784CBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784CBF
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784CBF | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#1D63BC
Tritanopia (blue-blind)
#68657E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #784cbf; /* rgb */ color: rgb(120, 76, 191); /* oklch */ color: oklch(52.4% 0.173 297.8);
Tailwind
colors: {
custom: {
50: '#a480d3',
500: '#784cbf',
950: '#000000',
},
}SCSS
$custom: #784cbf; $custom-light: #a480d3; $custom-dark: #000000;
JSON
{
"hex": "#784cbf",
"rgb": {
"r": 120,
"g": 76,
"b": 191
},
"hsl": {
"h": 262.957,
"s": 47.325,
"l": 52.353
},
"oklch": {
"l": 0.52402,
"c": 0.17321,
"h": 297.8
},
"luminance": 0.12924
}Semantic roles & 50–950 ramp
primary
#784CBF
secondary
#B9CC9A
accent
#D751A4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83