Recognised as Colour
#D998E7
- #D998E7
- Violet
- Dark
- Nearest: Plum
#D998E7 is a violet with RGB values 217, 152, 231 and HSL 289°, 62%, 75%. It is a dark colour, so black text on it reaches 9.6:1 contrast (AAA for normal text). The nearest named colour is Plum.
Colour values
#D998E7#D998E7
HEX#D998E7
RGBrgb(217, 152, 231)
RGB (0–1)0.851, 0.5961, 0.9059
RGB percentages85.1%, 59.6%, 90.6%
HSLhsl(289.4, 62.2%, 75.1%)
HSV / HSBhsv(289.4, 34.2%, 90.6%)
CMYK6.1%, 34.2%, 0%, 9.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,260,455
CSS custom property--colour: #D998E7;
Brightness & contrast
Relative luminance0.42978WCAG 2.x, 0 is black and 1 is white
Perceived brightness183.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 9.6:1
Contrast with white2.19:1WCAG normal text: Fail
Contrast with black9.6:1WCAG normal text: AAA
Greyscale equivalent#ACACAC
Inverted#266718
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text2.19:1WCAG large text: Fail
Contrast with black, large text9.6:1WCAG large text: AAA
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#A6E798
Analogous#B298E7, #E798CE
Triadic#E7D998, #98E7D9
Split complementary#CDE798, #98E7B2
Tetradic#E7B298, #A6E798, #98CDE7
Tints, shades & saturation
Channel breakdown
R217
G152
B231
Red217 (85.1%)
Green152 (59.6%)
Blue231 (90.6%)
Hue289.37°
Saturation (HSL)62.2%
Lightness75.1%
Dominant channelBlue
Hex per channelR D9 · G 98 · B E7
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