#D817CC color

#D817CC rgb(216, 23, 204)
Shades of purple

The hex color #D817CC is a vivid magenta.

In the RGB color model it is made of 84.7% red, 9% green and 80% blue (216, 23, 204).

Its hue angle is 304°, with 81% saturation and 47% lightness. For print, the CMYK equivalent is 0% cyan, 89% magenta, 6% yellow and 15% black.

The closest named color is Awkward Purple (#D208CC), a difference of 1.7 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 4.91:1).

#D817CC color codes

HEX#D817CC
RGBrgb(216, 23, 204)
RGB percentrgb(84.7%, 9%, 80%)
HSLhsl(304, 81%, 47%)
HSV / HSBhsv(304, 89%, 85%)
CMYKcmyk(0%, 89%, 6%, 15%)
CIE LABlab(51.35, 82.89, -46.75)
CIE LCHlch(51.35, 95.17, 330.58)
CIE XYZxyz(39.524, 19.575, 58.812)
Decimal14161868
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #D817CC, 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 #D817CCRatioAAAAAAA large
Sample text4.91:1PassFailPass
Sample text4.27:1FailFailPass
#D817CC as text onRatioAAAAAAA large
Sample text4.27:1FailFailPass
Sample text4.91:1PassFailPass

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 #D817CC looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #d817cc; }
.text { color: #d817cc; }
.border { border: 2px solid #d817cc; }
.transparent { background-color: rgb(216 23 204 / 50%); }
.gradient { background: linear-gradient(to right, #d817cc, #d8176c); }
Background
Text color
Border

Similar colors

Closest common color name: Medium Orchid.

Questions

What color is #D817CC?
#D817CC is a vivid magenta, closest to the named color Awkward Purple. It belongs to the purple family of colors.
What is the RGB value of #D817CC?
The RGB value is 216, 23, 204: 216 red, 23 green and 204 blue on a 0 to 255 scale.
What is the complementary color of #D817CC?
The complementary color is #17D823, found by rotating the hue 180° on the color wheel.
Is black or white text better on #D817CC?
Black text. Black text has a contrast ratio of 4.91:1 and white text 4.27:1. WCAG asks for at least 4.5:1 for normal text.