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
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
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
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.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page