Recognised as Colour
#87408C
- #87408C
- Magenta
- Dark
- Nearest: Rebecca purple
#87408C is a magenta with RGB values 135, 64, 140 and HSL 296°, 37%, 40%. It is a dark colour, so white text on it reaches 6.7:1 contrast (AA for normal text). The nearest named colour is Rebecca purple.
Colour values
#87408C#87408C
HEX#87408C
RGBrgb(135, 64, 140)
RGB (0–1)0.5294, 0.251, 0.549
RGB percentages52.9%, 25.1%, 54.9%
HSLhsl(296.1, 37.3%, 40%)
HSV / HSBhsv(296.1, 54.3%, 54.9%)
CMYK3.6%, 54.3%, 0%, 45.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,863,884
CSS custom property--colour: #87408C;
Brightness & contrast
Relative luminance0.10711WCAG 2.x, 0 is black and 1 is white
Perceived brightness100.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.68:1
Contrast with white6.68:1WCAG normal text: AA
Contrast with black3.14:1WCAG normal text: Fail
Greyscale equivalent#555555
Inverted#78BF73
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.68:1WCAG large text: AAA
Contrast with black, large text3.14:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#458C40
Analogous#61408C, #8C406B
Triadic#8C8740, #408C87
Split complementary#6B8C40, #408C61
Tetradic#8C6140, #458C40, #406B8C
Tints, shades & saturation
Channel breakdown
R135
G64
B140
Red135 (52.9%)
Green64 (25.1%)
Blue140 (54.9%)
Hue296.05°
Saturation (HSL)37.25%
Lightness40%
Dominant channelBlue
Hex per channelR 87 · G 40 · B 8C
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