#D796E3 color
The hex color #D796E3 is a light, moderate magenta.
In the RGB color model it is made of 84.3% red, 58.8% green and 89% blue (215, 150, 227).
Its hue angle is 291°, with 58% saturation and 74% lightness. For print, the CMYK equivalent is 5% cyan, 34% magenta, 0% yellow and 11% black.
The closest named color is Somewhere in a Fairytale (#CC99DD), a difference of 2.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.36:1).
#D796E3 color codes
| HEX | #D796E3 | |
|---|---|---|
| RGB | rgb(215, 150, 227) | |
| RGB percent | rgb(84.3%, 58.8%, 89%) | |
| HSL | hsl(291, 58%, 74%) | |
| HSV / HSB | hsv(291, 34%, 89%) | |
| CMYK | cmyk(5%, 34%, 0%, 11%) | |
| CIE LAB | lab(70.74, 37.14, -29.37) | |
| CIE LCH | lch(70.74, 47.35, 321.67) | |
| CIE XYZ | xyz(52.794, 41.807, 77.947) | |
| Decimal | 14128867 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D796E3, 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 #D796E3 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.36:1 | Pass | Pass | Pass |
| Sample text | 2.24:1 | Fail | Fail | Fail |
| #D796E3 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.24:1 | Fail | Fail | Fail |
| Sample text | 9.36: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 #D796E3 looks to people with the most common types of color vision deficiency.
#8da8e6Protanopia
no red cones#9db0e1Deuteranopia
no green cones#d99eb2Tritanopia
no blue cones#adadadAchromatopsia
no color vision
CSS examples
.background { background-color: #d796e3; }
.text { color: #d796e3; }
.border { border: 2px solid #d796e3; }
.transparent { background-color: rgb(215 150 227 / 50%); }
.gradient { background: linear-gradient(to right, #d796e3, #e396c8); }
Similar colors
#cc99ddSomewhere in a Fairytale#cc99eeDream Vapour#ee99eeDiva Mecha#c9a0dcWisteria#ee99ffParty Pig#eb94daLove Dust#d39ed2Velvet Horizon#ee88eeFrail Fuchsia
Questions
- What color is #D796E3?
- #D796E3 is a light, moderate magenta, closest to the named color Somewhere in a Fairytale. It belongs to the purple family of colors.
- What is the RGB value of #D796E3?
- The RGB value is 215, 150, 227: 215 red, 150 green and 227 blue on a 0 to 255 scale.
- What is the complementary color of #D796E3?
- The complementary color is #A2E396, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D796E3?
- Black text. Black text has a contrast ratio of 9.36:1 and white text 2.24:1. WCAG asks for at least 4.5:1 for normal text.