#794E8F color
The hex color #794E8F is a desaturated violet.
In the RGB color model it is made of 47.5% red, 30.6% green and 56.1% blue (121, 78, 143).
Its hue angle is 280°, with 29% saturation and 43% lightness. For print, the CMYK equivalent is 15% cyan, 45% magenta, 0% yellow and 44% black.
The closest named color is Ninja Princess (#75528B), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.36:1).
#794E8F color codes
| HEX | #794E8F | |
|---|---|---|
| RGB | rgb(121, 78, 143) | |
| RGB percent | rgb(47.5%, 30.6%, 56.1%) | |
| HSL | hsl(280, 29%, 43%) | |
| HSV / HSB | hsv(280, 45%, 56%) | |
| CMYK | cmyk(15%, 45%, 0%, 44%) | |
| CIE LAB | lab(40.41, 30.43, -28.99) | |
| CIE LCH | lch(40.41, 42.03, 316.4) | |
| CIE XYZ | xyz(15.567, 11.497, 27.38) | |
| Decimal | 7949967 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #794E8F, 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 #794E8F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.3:1 | Fail | Fail | Pass |
| Sample text | 6.36:1 | Pass | Fail | Pass |
| #794E8F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.36:1 | Pass | Fail | Pass |
| Sample text | 3.3:1 | Fail | 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 #794E8F looks to people with the most common types of color vision deficiency.
#415d91Protanopia
no red cones#4c608dDeuteranopia
no green cones#775868Tritanopia
no blue cones#5f5f5fAchromatopsia
no color vision
CSS examples
.background { background-color: #794e8f; }
.text { color: #794e8f; }
.border { border: 2px solid #794e8f; }
.transparent { background-color: rgb(121 78 143 / 50%); }
.gradient { background: linear-gradient(to right, #794e8f, #8f4e85); }
Similar colors
#75528bNinja Princess#714a8bGrapes of Italy#864788Prunella#81459ePurple Pleasures#6f5698Passion Flower#664488Lords of the Night#8f509dVicious Violet#733c8ePerkin Mauve
Closest common color name: Royal Purple.
Questions
- What color is #794E8F?
- #794E8F is a desaturated violet, closest to the named color Ninja Princess. It belongs to the purple family of colors.
- What is the RGB value of #794E8F?
- The RGB value is 121, 78, 143: 121 red, 78 green and 143 blue on a 0 to 255 scale.
- What is the complementary color of #794E8F?
- The complementary color is #648F4E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #794E8F?
- White text. Black text has a contrast ratio of 3.3:1 and white text 6.36:1. WCAG asks for at least 4.5:1 for normal text.