Skip to content

#907df2

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

RGB
144, 125, 242
HSL
250°, 82%, 72%
CMYK
41, 48, 0, 5
Luminance
0.2701

Every format

HEX#907df2
RGBrgb(144, 125, 242)
HSLhsl(250, 82%, 72%)
CMYKcmyk(41%, 48%, 0%, 5%)
LABlab(59.0 34.7 -56.6)
LCHlch(59.0 66.4 301.5)
OKLCHoklch(0.660 0.169 288.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#907df2 on white: 3.28:1
AA ✗ fail · AA-large · AAA
Aa
#907df2 on black: 6.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.5%
Green49.0%
Blue94.9%

CMYK percentages

Cyan40.5%
Magenta48.3%
Yellow0.0%
Key (black)5.1%

Color previews

#907df2 text on a black background

contrast 6.40:1

Card sample

#907df2 text on a white background

contrast 3.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #907df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #907df2 in the Color Lab