Recognised as Colour
#9872FF
- #9872FF
- Violet
- Dark
- Nearest: Medium slateblue
#9872FF is a violet with RGB values 152, 114, 255 and HSL 256°, 100%, 72%. It is a dark colour, so black text on it reaches 6.2:1 contrast (AA for normal text). The nearest named colour is Medium slateblue.
Colour values
#9872FF#9872FF
HEX#9872FF
RGBrgb(152, 114, 255)
RGB (0–1)0.5961, 0.4471, 1
RGB percentages59.6%, 44.7%, 100%
HSLhsl(256.2, 100%, 72.4%)
HSV / HSBhsv(256.2, 55.3%, 100%)
CMYK40.4%, 55.3%, 0%, 0%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer9,990,911
CSS custom property--colour: #9872FF;
Brightness & contrast
Relative luminance0.2593WCAG 2.x, 0 is black and 1 is white
Perceived brightness148.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 6.19:1
Contrast with white3.39:1WCAG normal text: Fail
Contrast with black6.19:1WCAG normal text: AA
Greyscale equivalent#848484
Inverted#678D00
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.39:1WCAG large text: AA
Contrast with black, large text6.19:1WCAG large text: AAA
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#D9FF72
Analogous#7292FF, #DE72FF
Triadic#FF9872, #72FF98
Split complementary#FFDE72, #92FF72
Tetradic#FF7293, #D9FF72, #72FFDF
Tints, shades & saturation
Channel breakdown
R152
G114
B255
Red152 (59.6%)
Green114 (44.7%)
Blue255 (100%)
Hue256.17°
Saturation (HSL)100%
Lightness72.35%
Dominant channelBlue
Hex per channelR 98 · G 72 · 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