Recognised as Colour
#9840DE
- #9840DE
- Violet
- Dark
- Nearest: Dark orchid
#9840DE is a violet with RGB values 152, 64, 222 and HSL 273°, 71%, 56%. It is a dark colour, so white text on it reaches 5.1:1 contrast (AA for normal text). The nearest named colour is Dark orchid.
Colour values
#9840DE#9840DE
HEX#9840DE
RGBrgb(152, 64, 222)
RGB (0–1)0.5961, 0.251, 0.8706
RGB percentages59.6%, 25.1%, 87.1%
HSLhsl(273.4, 70.5%, 56.1%)
HSV / HSBhsv(273.4, 71.2%, 87.1%)
CMYK31.5%, 71.2%, 0%, 12.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer9,978,078
CSS custom property--colour: #9840DE;
Brightness & contrast
Relative luminance0.15616WCAG 2.x, 0 is black and 1 is white
Perceived brightness122.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.09:1
Contrast with white5.09:1WCAG normal text: AA
Contrast with black4.12:1WCAG normal text: Fail
Greyscale equivalent#5E5E5E
Inverted#67BF21
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.09:1WCAG large text: AAA
Contrast with black, large text4.12:1WCAG large text: AA
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#86DE40
Analogous#4940DE, #DE40D5
Triadic#DE9840, #40DE98
Split complementary#D5DE40, #40DE49
Tetradic#DE4940, #86DE40, #40D5DE
Tints, shades & saturation
Channel breakdown
R152
G64
B222
Red152 (59.6%)
Green64 (25.1%)
Blue222 (87.1%)
Hue273.42°
Saturation (HSL)70.54%
Lightness56.08%
Dominant channelBlue
Hex per channelR 98 · G 40 · B DE
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