Skip to content

#9f99ff

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

RGB
159, 153, 255
HSL
244°, 100%, 80%
CMYK
38, 40, 0, 0
Luminance
0.3737

Every format

HEX#9f99ff
RGBrgb(159, 153, 255)
HSLhsl(244, 100%, 80%)
CMYKcmyk(38%, 40%, 0%, 0%)
LABlab(67.6 25.9 -50.0)
LCHlch(67.6 56.3 297.3)
OKLCHoklch(0.730 0.146 284.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9f99ff on white: 2.48:1
AA ✗ fail · AA-large · AAA
Aa
#9f99ff on black: 8.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green60.0%
Blue100.0%

CMYK percentages

Cyan37.6%
Magenta40.0%
Yellow0.0%
Key (black)0.0%

Color previews

#9f99ff text on a black background

contrast 8.47:1

Card sample

#9f99ff text on a white background

contrast 2.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9f99ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9f99ff in the Color Lab