#D98BF0 color
The hex color #D98BF0 is a light, moderate magenta.
In the RGB color model it is made of 85.1% red, 54.5% green and 94.1% blue (217, 139, 240).
Its hue angle is 286°, with 77% saturation and 74% lightness. For print, the CMYK equivalent is 10% cyan, 42% magenta, 0% yellow and 6% black.
The closest named color is Pinkling (#EB84F5), a difference of 3.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.9:1).
#D98BF0 color codes
| HEX | #D98BF0 | |
|---|---|---|
| RGB | rgb(217, 139, 240) | |
| RGB percent | rgb(85.1%, 54.5%, 94.1%) | |
| HSL | hsl(286, 77%, 74%) | |
| HSV / HSB | hsv(286, 42%, 94%) | |
| CMYK | cmyk(10%, 42%, 0%, 6%) | |
| CIE LAB | lab(69.12, 46.13, -38.99) | |
| CIE LCH | lch(69.12, 60.4, 319.79) | |
| CIE XYZ | xyz(53.574, 39.51, 87.225) | |
| Decimal | 14257136 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D98BF0, 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 #D98BF0 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.9:1 | Pass | Pass | Pass |
| Sample text | 2.36:1 | Fail | Fail | Fail |
| #D98BF0 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.36:1 | Fail | Fail | Fail |
| Sample text | 8.9: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 #D98BF0 looks to people with the most common types of color vision deficiency.
#7ba4f4Protanopia
no red cones#90abedDeuteranopia
no green cones#d998b2Tritanopia
no blue cones#a9a9a9Achromatopsia
no color vision
CSS examples
.background { background-color: #d98bf0; }
.text { color: #d98bf0; }
.border { border: 2px solid #d98bf0; }
.transparent { background-color: rgb(217 139 240 / 50%); }
.gradient { background: linear-gradient(to right, #d98bf0, #f08bd5); }
Similar colors
#eb84f5Pinkling#ee88eeFrail Fuchsia#cc99eeDream Vapour#ee99ffParty Pig#cc77eeFake Love#ee99eeDiva Mecha#df73ffHeliotrope#df73ffVenus Slipper Orchid
Questions
- What color is #D98BF0?
- #D98BF0 is a light, moderate magenta, closest to the named color Pinkling. It belongs to the purple family of colors.
- What is the RGB value of #D98BF0?
- The RGB value is 217, 139, 240: 217 red, 139 green and 240 blue on a 0 to 255 scale.
- What is the complementary color of #D98BF0?
- The complementary color is #A2F08B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D98BF0?
- Black text. Black text has a contrast ratio of 8.9:1 and white text 2.36:1. WCAG asks for at least 4.5:1 for normal text.