#CF87DF color
The hex color #CF87DF is a light, moderate magenta.
In the RGB color model it is made of 81.2% red, 52.9% green and 87.5% blue (207, 135, 223).
Its hue angle is 289°, with 58% saturation and 70% lightness. For print, the CMYK equivalent is 7% cyan, 39% magenta, 0% yellow and 13% black.
The closest named color is Somewhere in a Fairytale (#CC99DD), a difference of 5.1 ΔE.
Black text is the more readable choice on this background (contrast 8.18:1).
#CF87DF color codes
| HEX | #CF87DF | |
|---|---|---|
| RGB | rgb(207, 135, 223) | |
| RGB percent | rgb(81.2%, 52.9%, 87.5%) | |
| HSL | hsl(289, 58%, 70%) | |
| HSV / HSB | hsv(289, 39%, 87%) | |
| CMYK | cmyk(7%, 39%, 0%, 13%) | |
| CIE LAB | lab(66.46, 41.94, -33.84) | |
| CIE LCH | lch(66.46, 53.89, 321.1) | |
| CIE XYZ | xyz(47.714, 35.923, 74.218) | |
| Decimal | 13600735 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #CF87DF, 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 #CF87DF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.18:1 | Pass | Pass | Pass |
| Sample text | 2.57:1 | Fail | Fail | Fail |
| #CF87DF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.57:1 | Fail | Fail | Fail |
| Sample text | 8.18: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 #CF87DF looks to people with the most common types of color vision deficiency.
#7b9de2Protanopia
no red cones#8ea4dcDeuteranopia
no green cones#d092a9Tritanopia
no blue cones#a2a2a2Achromatopsia
no color vision
CSS examples
.background { background-color: #cf87df; }
.text { color: #cf87df; }
.border { border: 2px solid #cf87df; }
.transparent { background-color: rgb(207 135 223 / 50%); }
.gradient { background: linear-gradient(to right, #cf87df, #df87c3); }
Similar colors
#cc99ddSomewhere in a Fairytale#eb84f5Pinkling#cc99eeDream Vapour#ee88eeFrail Fuchsia#cc77eeFake Love#da70d6Orchid#da70d6Pink Orchid#ee99eeDiva Mecha
Questions
- What color is #CF87DF?
- #CF87DF 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 #CF87DF?
- The RGB value is 207, 135, 223: 207 red, 135 green and 223 blue on a 0 to 255 scale.
- What is the complementary color of #CF87DF?
- The complementary color is #97DF87, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #CF87DF?
- Black text. Black text has a contrast ratio of 8.18:1 and white text 2.57:1. WCAG asks for at least 4.5:1 for normal text.