Skip to content

#906dfd

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

RGB
144, 109, 253
HSL
255°, 97%, 71%
CMYK
43, 57, 0, 1
Luminance
0.2396

Every format

HEX#906dfd
RGBrgb(144, 109, 253)
HSLhsl(255, 97%, 71%)
CMYKcmyk(43%, 57%, 0%, 1%)
LABlab(56.0 46.8 -67.4)
LCHlch(56.0 82.0 304.8)
OKLCHoklch(0.641 0.205 290.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#906dfd on white: 3.63:1
AA ✗ fail · AA-large · AAA
Aa
#906dfd on black: 5.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.5%
Green42.7%
Blue99.2%

CMYK percentages

Cyan43.1%
Magenta56.9%
Yellow0.0%
Key (black)0.8%

Color previews

#906dfd text on a black background

contrast 5.79:1

Card sample

#906dfd text on a white background

contrast 3.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #906dfd;
Background color
Panel with #906dfd background
background-color: #906dfd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #906dfd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(144, 109, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(144, 109, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #906dfd;
background: linear-gradient(135deg, #906dfd, #F06DFD);

Monochromatic scale

Palettes built from #906dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #906dfd in the Color Lab