Palettes / Colors / #787AFE
#787AFE — Light Vivid Blue
#787AFE is a blue color we call Light Vivid Blue, closest to the named color CornflowerBlue (#6495ED). It belongs to the blue family.
Color name
Closest CSS keyword: cornflowerblue (#6495ED) — not an exact match. CSS cornflowerblue gives you #6495ED, a different color; use #787AFE when you need this exact shade.
Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.
#787AFE is a cool blue color associated with trust, calm and professionalism. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.
Its strongest partner is its complement #FEFC76; it also sits naturally between #76BCFE and #B876FE. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #787AFE |
|---|---|
| RGB | 120, 122, 254 |
| HSL | 239°, 99%, 73% |
| HSV | 239°, 53%, 100% |
| CMYK | 53%, 52%, 0%, 0% |
| XYZ | 32.59, 25.07, 96.89 |
| Yxy | 25.07, 0.2109, 0.1622 |
| CIE-Lab | 57.14, 34.71, -66.26 |
| Hunter Lab | 50.07, 31.76, -85.58 |
RGB & CMYK percentages
Red 47% · Green 48% · Blue 100%
Cyan 53% · Magenta 52% · Yellow 0% · Key 0%
CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.
Previews
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
CSS code for #787AFE
.text { color: #787AFE; }
.background { background-color: #787AFE; }
.border { border: 3px solid #787AFE; }
.text-rgb { color: rgb(120, 122, 254); }
.text-hsl { color: hsl(239, 99%, 73%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #787AFE; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(120, 122, 254, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #787AFE; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(120, 122, 254, 0.8); }
HTML: <p style="color:#787AFE">Text here</p> · <div style="background-color:#787AFE">Div content here</div>
Shades of #787AFE
Tints of #787AFE
Tones of #787AFE
Color harmonies
Complementary — #FEFC76:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 3.49:1 AA large only |
|---|---|
| Against black text | 6.01:1 AA |
Best text color on #787AFE: #000000.
Semi-transparent (opacity) text on #787AFE
Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:
Smaller body text shows the effect best.
Blended color: · Contrast against #787AFE: ·
How #787AFE looks with color blindness
Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:
Closest design-system colors
The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:
Palettes with a similar color
These palettes use a close neighbour of #787AFE rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
Frequently asked questions
What color is #787AFE?
#787AFE is Light Vivid Blue, a blue color (RGB 120, 122, 254). Its closest standard named color is CornflowerBlue.
What is the RGB and HSL of #787AFE?
#787AFE is RGB 120, 122, 254 — HSL 239°, 99%, 73% — CMYK 53%, 52%, 0%, 0%.
What colors go with #787AFE?
Its complement is #FEFC76; analogous partners are #76BCFE and #B876FE. It also appears in 6+ palettes in our collection.
Can I use #787AFE for text?
Black text on #787AFE has a contrast ratio of 6.01:1 (passes WCAG AA); white text gives 3.49:1.