#E798F1 color
The hex color #E798F1 is a light, moderate magenta.
In the RGB color model it is made of 90.6% red, 59.6% green and 94.5% blue (231, 152, 241).
Its hue angle is 293°, with 76% saturation and 77% lightness. For print, the CMYK equivalent is 4% cyan, 37% magenta, 0% yellow and 5% black.
The closest named color is Diva Mecha (#EE99EE), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 10.16:1).
#E798F1 color codes
| HEX | #E798F1 | |
|---|---|---|
| RGB | rgb(231, 152, 241) | |
| RGB percent | rgb(90.6%, 59.6%, 94.5%) | |
| HSL | hsl(293, 76%, 77%) | |
| HSV / HSB | hsv(293, 37%, 95%) | |
| CMYK | cmyk(4%, 37%, 0%, 5%) | |
| CIE LAB | lab(73.41, 43.65, -32.75) | |
| CIE LCH | lch(73.41, 54.57, 323.12) | |
| CIE XYZ | xyz(60.059, 45.798, 88.878) | |
| Decimal | 15177969 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #E798F1, 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 #E798F1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.16:1 | Pass | Pass | Pass |
| Sample text | 2.07:1 | Fail | Fail | Fail |
| #E798F1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.07:1 | Fail | Fail | Fail |
| Sample text | 10.16:1 | Pass | Pass | 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 #E798F1 looks to people with the most common types of color vision deficiency.
#8eaef4Protanopia
no red cones#a2b8eeDeuteranopia
no green cones#eaa2baTritanopia
no blue cones#b4b4b4Achromatopsia
no color vision
CSS examples
.background { background-color: #e798f1; }
.text { color: #e798f1; }
.border { border: 2px solid #e798f1; }
.transparent { background-color: rgb(231 152 241 / 50%); }
.gradient { background: linear-gradient(to right, #e798f1, #f198cf); }
Similar colors
#ee99eeDiva Mecha#ee99ffParty Pig#ee88eeFrail Fuchsia#ff99ffPinkalicious#eb84f5Pinkling#ff99eePink Elephants#eb94daLove Dust#eeaaeePinky Swear
Closest common color name: Mauve.
Questions
- What color is #E798F1?
- #E798F1 is a light, moderate magenta, closest to the named color Diva Mecha. It belongs to the purple family of colors.
- What is the RGB value of #E798F1?
- The RGB value is 231, 152, 241: 231 red, 152 green and 241 blue on a 0 to 255 scale.
- What is the complementary color of #E798F1?
- The complementary color is #A2F198, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #E798F1?
- Black text. Black text has a contrast ratio of 10.16:1 and white text 2.07:1. WCAG asks for at least 4.5:1 for normal text.