Recognised as Colour
#840EF8
- #840EF8
- Violet
- Dark
- Nearest: Blue violet
#840EF8 is a violet with RGB values 132, 14, 248 and HSL 270°, 94%, 51%. It is a dark colour, so white text on it reaches 6.2:1 contrast (AA for normal text). The nearest named colour is Blue violet.
Colour values
#840EF8#840EF8
HEX#840EF8
RGBrgb(132, 14, 248)
RGB (0–1)0.5176, 0.0549, 0.9725
RGB percentages51.8%, 5.5%, 97.3%
HSLhsl(270.3, 94.4%, 51.4%)
HSV / HSBhsv(270.3, 94.4%, 97.3%)
CMYK46.8%, 94.4%, 0%, 2.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,654,584
CSS custom property--colour: #840EF8;
Brightness & contrast
Relative luminance0.11997WCAG 2.x, 0 is black and 1 is white
Perceived brightness111.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.18:1
Contrast with white6.18:1WCAG normal text: AA
Contrast with black3.4:1WCAG normal text: Fail
Greyscale equivalent#383838
Inverted#7BF107
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.18:1WCAG large text: AAA
Contrast with black, large text3.4:1WCAG large text: AA
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#82F80E
Analogous#0F0EF8, #F80EF7
Triadic#F8840E, #0EF884
Split complementary#F7F80E, #0EF80F
Tetradic#F80F0E, #82F80E, #0EF7F8
Tints, shades & saturation
Channel breakdown
R132
G14
B248
Red132 (51.8%)
Green14 (5.5%)
Blue248 (97.3%)
Hue270.26°
Saturation (HSL)94.35%
Lightness51.37%
Dominant channelBlue
Hex per channelR 84 · G 0E · B F8
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