Nerdulator> put something in

Recognised as Colour

#D940C7

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

#D940C7 is a magenta with RGB values 217, 64, 199 and HSL 307°, 67%, 55%. It is a dark colour, so black text on it reaches 5.5:1 contrast (AA for normal text). The nearest named colour is Medium orchid.

Colour values

#D940C7#D940C7
HEX#D940C7
RGBrgb(217, 64, 199)
RGB (0–1)0.851, 0.251, 0.7804
RGB percentages85.1%, 25.1%, 78%
HSLhsl(307.1, 66.8%, 55.1%)
HSV / HSBhsv(307.1, 70.5%, 85.1%)
CMYK0%, 70.5%, 8.3%, 14.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,237,895
CSS custom property--colour: #D940C7;

Brightness & contrast

Relative luminance0.22542WCAG 2.x, 0 is black and 1 is white
Perceived brightness144.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.51:1
Contrast with white3.81:1WCAG normal text: Fail
Contrast with black5.51:1WCAG normal text: AA
Greyscale equivalent#6A6A6A
Inverted#26BF38

Colour vision & accessibility

Protanopia#3A75CBno red cones; affects about 1% of men; ΔE 64.2 from the original
Deuteranopia#728AC3no green cones; the most common form, about 1% of men; ΔE 66.9 from the original
Tritanopia#E34F7Fno blue cones; rare, and affects men and women equally; ΔE 45.3 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.81:1WCAG large text: AA
Contrast with black, large text5.51:1WCAG large text: AAA

Named colours

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

Colour harmonies

Complementary#40D952
Analogous#9E40D9, #D9407B
Triadic#C7D940, #40C7D9
Split complementary#7BD940, #40D99E
Tetradic#D99F40, #40D952, #407BD9

Tints, shades & saturation

Lighter +40%#FBEAF9
Lighter +30%#F2C0EC
Lighter +20%#EA95E0
Lighter +10%#E16BD3
Darker −10%#C026AE
Darker −20%#951E87
Darker −30%#6B1561
Darker −40%#400D3A
More saturated +25%#F623DD
Less saturated −25%#BC5DB1

Channel breakdown

R217
G64
B199
Red217 (85.1%)
Green64 (25.1%)
Blue199 (78%)
Hue307.06°
Saturation (HSL)66.81%
Lightness55.1%
Dominant channelRed
Hex per channelR D9 · G 40 · B C7

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 “d940c7” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.