Recognised as Colour
#D798D4
- #D798D4
- Magenta
- Dark
- Nearest: Plum
#D798D4 is a magenta with RGB values 215, 152, 212 and HSL 303°, 44%, 72%. It is a dark colour, so black text on it reaches 9.3:1 contrast (AAA for normal text). The nearest named colour is Plum.
Colour values
#D798D4#D798D4
HEX#D798D4
RGBrgb(215, 152, 212)
RGB (0–1)0.8431, 0.5961, 0.8314
RGB percentages84.3%, 59.6%, 83.1%
HSLhsl(302.9, 44.1%, 72%)
HSV / HSBhsv(302.9, 29.3%, 84.3%)
CMYK0%, 29.3%, 1.4%, 15.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,129,364
CSS custom property--colour: #D798D4;
Brightness & contrast
Relative luminance0.41657WCAG 2.x, 0 is black and 1 is white
Perceived brightness180.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 9.33:1
Contrast with white2.25:1WCAG normal text: Fail
Contrast with black9.33:1WCAG normal text: AAA
Greyscale equivalent#AAAAAA
Inverted#28672B
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text2.25:1WCAG large text: Fail
Contrast with black, large text9.33:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#98D79B
Analogous#BB98D7, #D798B4
Triadic#D4D798, #98D4D7
Split complementary#B4D798, #98D7BB
Tetradic#D7BA98, #98D79B, #98B4D7
Tints, shades & saturation
Channel breakdown
R215
G152
B212
Red215 (84.3%)
Green152 (59.6%)
Blue212 (83.1%)
Hue302.86°
Saturation (HSL)44.06%
Lightness71.96%
Dominant channelRed
Hex per channelR D7 · G 98 · B D4
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page