Recognised as Colour
#987EFF
- #987EFF
- Blue
- Dark
- Nearest: Medium slateblue
#987EFF is a blue with RGB values 152, 126, 255 and HSL 252°, 100%, 75%. It is a dark colour, so black text on it reaches 6.8:1 contrast (AA for normal text). The nearest named colour is Medium slateblue.
Colour values
#987EFF#987EFF
HEX#987EFF
RGBrgb(152, 126, 255)
RGB (0–1)0.5961, 0.4941, 1
RGB percentages59.6%, 49.4%, 100%
HSLhsl(252.1, 100%, 74.7%)
HSV / HSBhsv(252.1, 50.6%, 100%)
CMYK40.4%, 50.6%, 0%, 0%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer9,993,983
CSS custom property--colour: #987EFF;
Brightness & contrast
Relative luminance0.28817WCAG 2.x, 0 is black and 1 is white
Perceived brightness153.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 6.76:1
Contrast with white3.1:1WCAG normal text: Fail
Contrast with black6.76:1WCAG normal text: AA
Greyscale equivalent#8D8D8D
Inverted#678100
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text3.1:1WCAG large text: AA
Contrast with black, large text6.76:1WCAG large text: AAA
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#E5FF7E
Analogous#7EA5FF, #D87EFF
Triadic#FF987E, #7EFF98
Split complementary#FFD97E, #A4FF7E
Tetradic#FF7EA5, #E5FF7E, #7EFFD8
Tints, shades & saturation
Channel breakdown
R152
G126
B255
Red152 (59.6%)
Green126 (49.4%)
Blue255 (100%)
Hue252.09°
Saturation (HSL)100%
Lightness74.71%
Dominant channelBlue
Hex per channelR 98 · G 7E · B FF
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