Somewhere in a Fairytale color: hex code #CC99DD
Somewhere in a Fairytale has the hex code #CC99DD. It is a light, moderate magenta.
In the RGB color model it is made of 80% red, 60% green and 86.7% blue (204, 153, 221).
Its hue angle is 285°, with 50% saturation and 73% lightness. For print, the CMYK equivalent is 8% cyan, 31% magenta, 0% yellow and 13% black.
Black text is the more readable choice on this background (contrast 9.17:1).
Somewhere in a Fairytale (#CC99DD) color codes
| HEX | #CC99DD | |
|---|---|---|
| RGB | rgb(204, 153, 221) | |
| RGB percent | rgb(80%, 60%, 86.7%) | |
| HSL | hsl(285, 50%, 73%) | |
| HSV / HSB | hsv(285, 31%, 87%) | |
| CMYK | cmyk(8%, 31%, 0%, 13%) | |
| CIE LAB | lab(70.06, 30.88, -27.2) | |
| CIE LCH | lch(70.06, 41.15, 318.63) | |
| CIE XYZ | xyz(49.342, 40.841, 73.676) | |
| Decimal | 13408733 | |
| Short hex | #C9D |
Color harmonies
Colors that go with Somewhere in a Fairytale, 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 #CC99DD | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.17:1 | Pass | Pass | Pass |
| Sample text | 2.29:1 | Fail | Fail | Fail |
| #CC99DD as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.29:1 | Fail | Fail | Fail |
| Sample text | 9.17: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 #CC99DD looks to people with the most common types of color vision deficiency.
#90a8e0Protanopia
no red cones#9caddbDeuteranopia
no green cones#cca1b2Tritanopia
no blue cones#abababAchromatopsia
no color vision
CSS examples
.background { background-color: #cc99dd; }
.text { color: #cc99dd; }
.border { border: 2px solid #cc99dd; }
.transparent { background-color: rgb(204 153 221 / 50%); }
.gradient { background: linear-gradient(to right, #cc99dd, #dd99cc); }
Similar colors
#c9a0dcWisteria#cc99eeDream Vapour#d39ed2Velvet Horizon#bf8fc4Violaceous#cb99c9Pastel Violet#bfa3d9Enchanted Lavender#c6a1cfLilac Lace#deadeaControlled Substance
See #CC99DD on its hex code page
Questions
- What color is #CC99DD?
- #CC99DD is a light, moderate magenta known as Somewhere in a Fairytale. It belongs to the purple family of colors.
- What is the RGB value of Somewhere in a Fairytale?
- The RGB value is 204, 153, 221: 204 red, 153 green and 221 blue on a 0 to 255 scale.
- What is the complementary color of Somewhere in a Fairytale?
- The complementary color is #AADD99, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #CC99DD?
- Black text. Black text has a contrast ratio of 9.17:1 and white text 2.29:1. WCAG asks for at least 4.5:1 for normal text.