Skip to content

#916df2

a light, electric violet · warm · closest name: slateblue

RGB
145, 109, 242
HSL
256°, 84%, 69%
CMYK
40, 55, 0, 5
Luminance
0.2337

Every format

HEX#916df2
RGBrgb(145, 109, 242)
HSLhsl(256, 84%, 69%)
CMYKcmyk(40%, 55%, 0%, 5%)
LABlab(55.5 44.0 -62.2)
LCHlch(55.5 76.2 305.3)
OKLCHoklch(0.634 0.192 292.6)

Copy-ready code

/* CSS */
color: #916df2;
background-color: #916df2;
/* Tailwind (arbitrary) */
class="text-[#916df2] bg-[#916df2]"
/* SCSS */
$brand: #916df2;
/* SwiftUI */
Color(red: 0.569, green: 0.427, blue: 0.949)
/* Android */
Color.parseColor("#916df2")

Accessibility — WCAG contrast

Aa
#916df2 on white: 3.70:1
AA ✗ fail · AA-large · AAA
Aa
#916df2 on black: 5.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.9%
Green42.7%
Blue94.9%

CMYK percentages

Cyan40.1%
Magenta55.0%
Yellow0.0%
Key (black)5.1%

Color previews

#916df2 text on a black background

contrast 5.67:1

Card sample

#916df2 text on a white background

contrast 3.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #916df2;
Background color
Panel with #916df2 background
background-color: #916df2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #916df2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(145, 109, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(145, 109, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #916df2;
background: linear-gradient(135deg, #916df2, #EA6DF2);

Monochromatic scale

Palettes built from #916df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #916df2 in the Color Lab