Skip to content

#9f9df7

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

RGB
159, 157, 247
HSL
241°, 85%, 79%
CMYK
36, 36, 0, 3
Luminance
0.3820

Every format

HEX#9f9df7
RGBrgb(159, 157, 247)
HSLhsl(241, 85%, 79%)
CMYKcmyk(36%, 36%, 0%, 3%)
LABlab(68.2 21.5 -44.7)
LCHlch(68.2 49.6 295.6)
OKLCHoklch(0.734 0.129 283.8)

Copy-ready code

/* CSS */
color: #9f9df7;
background-color: #9f9df7;
/* Tailwind (arbitrary) */
class="text-[#9f9df7] bg-[#9f9df7]"
/* SCSS */
$brand: #9f9df7;
/* SwiftUI */
Color(red: 0.624, green: 0.616, blue: 0.969)
/* Android */
Color.parseColor("#9f9df7")

Accessibility — WCAG contrast

Aa
#9f9df7 on white: 2.43:1
AA ✗ fail · AA-large · AAA
Aa
#9f9df7 on black: 8.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green61.6%
Blue96.9%

CMYK percentages

Cyan35.6%
Magenta36.4%
Yellow0.0%
Key (black)3.1%

Color previews

#9f9df7 text on a black background

contrast 8.64:1

Card sample

#9f9df7 text on a white background

contrast 2.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9f9df7;
Background color
Panel with #9f9df7 background
background-color: #9f9df7;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9f9df7;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(159, 157, 247, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 157, 247, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9f9df7;
background: linear-gradient(135deg, #9f9df7, #DB9DF7);

Monochromatic scale

Palettes built from #9f9df7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9f9df7 in the Color Lab