Recognised as Colour
#C840D2
- #C840D2
- Magenta
- Dark
- Nearest: Medium orchid
#C840D2 is a magenta with RGB values 200, 64, 210 and HSL 296°, 62%, 54%. It is a dark colour, so black text on it reaches 5.1:1 contrast (AA for normal text). The nearest named colour is Medium orchid.
Colour values
#C840D2#C840D2
HEX#C840D2
RGBrgb(200, 64, 210)
RGB (0–1)0.7843, 0.251, 0.8235
RGB percentages78.4%, 25.1%, 82.4%
HSLhsl(295.9, 61.9%, 53.7%)
HSV / HSBhsv(295.9, 69.5%, 82.4%)
CMYK4.8%, 69.5%, 0%, 17.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,123,794
CSS custom property--colour: #C840D2;
Brightness & contrast
Relative luminance0.20599WCAG 2.x, 0 is black and 1 is white
Perceived brightness139.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.12:1
Contrast with white4.1:1WCAG normal text: Fail
Contrast with black5.12:1WCAG normal text: AA
Greyscale equivalent#676767
Inverted#37BF2D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.1:1WCAG large text: AA
Contrast with black, large text5.12:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4AD240
Analogous#7F40D2, #D24093
Triadic#D2C840, #40D2C8
Split complementary#93D240, #40D27F
Tetradic#D27F40, #4AD240, #4093D2
Tints, shades & saturation
Channel breakdown
R200
G64
B210
Red200 (78.4%)
Green64 (25.1%)
Blue210 (82.4%)
Hue295.89°
Saturation (HSL)61.86%
Lightness53.73%
Dominant channelBlue
Hex per channelR C8 · G 40 · B D2
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