#786CCF color
The hex color #786CCF is a moderate blue.
In the RGB color model it is made of 47.1% red, 42.4% green and 81.2% blue (120, 108, 207).
Its hue angle is 247°, with 51% saturation and 62% lightness. For print, the CMYK equivalent is 42% cyan, 48% magenta, 0% yellow and 19% black.
The closest named color is Venus Violet (#7A6DC0), a difference of 2.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 4.84:1).
#786CCF color codes
| HEX | #786CCF | |
|---|---|---|
| RGB | rgb(120, 108, 207) | |
| RGB percent | rgb(47.1%, 42.4%, 81.2%) | |
| HSL | hsl(247, 51%, 62%) | |
| HSV / HSB | hsv(247, 48%, 81%) | |
| CMYK | cmyk(42%, 48%, 0%, 19%) | |
| CIE LAB | lab(50.95, 29.07, -49.85) | |
| CIE LCH | lch(50.95, 57.71, 300.25) | |
| CIE XYZ | xyz(24.368, 19.222, 61.446) | |
| Decimal | 7892175 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #786CCF, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #786CCF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.84:1 | Pass | Fail | Pass |
| Sample text | 4.33:1 | Fail | Fail | Pass |
| #786CCF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.33:1 | Fail | Fail | Pass |
| Sample text | 4.84:1 | Pass | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #786CCF looks to people with the most common types of color vision deficiency.
#447cd3Protanopia
no red cones#4377cdDeuteranopia
no green cones#5e8094Tritanopia
no blue cones#797979Achromatopsia
no color vision
CSS examples
.background { background-color: #786ccf; }
.text { color: #786ccf; }
.border { border: 2px solid #786ccf; }
.transparent { background-color: rgb(120 108 207 / 50%); }
.gradient { background: linear-gradient(to right, #786ccf, #aa6ccf); }
Similar colors
#7a6dc0Venus Violet#7b68eeMedium Slate Blue#8469bcLavish Spending#9370dbMedium Purple#9370dbMatt Purple#6a5acdSlate Blue#6677bbFlood#5f6db0Loch Ness
Questions
- What color is #786CCF?
- #786CCF is a moderate blue, closest to the named color Venus Violet. It belongs to the blue family of colors.
- What is the RGB value of #786CCF?
- The RGB value is 120, 108, 207: 120 red, 108 green and 207 blue on a 0 to 255 scale.
- What is the complementary color of #786CCF?
- The complementary color is #C3CF6C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #786CCF?
- Black text. Black text has a contrast ratio of 4.84:1 and white text 4.33:1. WCAG asks for at least 4.5:1 for normal text.