Nerdulator> put something in

Recognised as Colour

#D840DA

  • #D840DA
  • Magenta
  • Dark
  • Nearest: Medium orchid

#D840DA is a magenta with RGB values 216, 64, 218 and HSL 299°, 68%, 55%. It is a dark colour, so black text on it reaches 5.7:1 contrast (AA for normal text). The nearest named colour is Medium orchid.

Colour values

#D840DA#D840DA
HEX#D840DA
RGBrgb(216, 64, 218)
RGB (0–1)0.8471, 0.251, 0.8549
RGB percentages84.7%, 25.1%, 85.5%
HSLhsl(299.2, 67.5%, 55.3%)
HSV / HSBhsv(299.2, 70.6%, 85.5%)
CMYK0.9%, 70.6%, 0%, 14.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,172,378
CSS custom property--colour: #D840DA;

Brightness & contrast

Relative luminance0.23328WCAG 2.x, 0 is black and 1 is white
Perceived brightness147.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.67:1
Contrast with white3.71:1WCAG normal text: Fail
Contrast with black5.67:1WCAG normal text: AA
Greyscale equivalent#6B6B6B
Inverted#27BF25

Colour vision & accessibility

Protanopia#2178DEno red cones; affects about 1% of men; ΔE 64.1 from the original
Deuteranopia#678BD6no green cones; the most common form, about 1% of men; ΔE 67.2 from the original
Tritanopia#DE5889no blue cones; rare, and affects men and women equally; ΔE 52 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.71:1WCAG large text: AA
Contrast with black, large text5.67:1WCAG large text: AAA

Named colours

Nearest named CSS colourMedium orchid (#BA55D3)ΔE 16.51, a distinctly different colour
Hue familymagenta
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#42DA40
Analogous#8B40DA, #DA408F
Triadic#DAD840, #40DAD8
Split complementary#8FDA40, #40DA8B
Tetradic#DA8B40, #42DA40, #408FDA

Tints, shades & saturation

Lighter +40%#FBEBFB
Lighter +30%#F2C0F3
Lighter +20%#E995EB
Lighter +10%#E16BE2
Darker −10%#BF25C2
Darker −20%#951D97
Darker −30%#6B156C
Darker −40%#410D41
More saturated +25%#F424F7
Less saturated −25%#BC5DBE

Channel breakdown

R216
G64
B218
Red216 (84.7%)
Green64 (25.1%)
Blue218 (85.5%)
Hue299.22°
Saturation (HSL)67.54%
Lightness55.29%
Dominant channelBlue
Hex per channelR D8 · G 40 · B DA

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

Every value on this page was computed from “d840da” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.