Skip to content

#ababfd

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

RGB
171, 171, 253
HSL
240°, 95%, 83%
CMYK
32, 32, 0, 1
Luminance
0.4488

Every format

HEX#ababfd
RGBrgb(171, 171, 253)
HSLhsl(240, 95%, 83%)
CMYKcmyk(32%, 32%, 0%, 1%)
LABlab(72.8 18.4 -40.6)
LCHlch(72.8 44.6 294.3)
OKLCHoklch(0.772 0.116 283.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ababfd on white: 2.11:1
AA ✗ fail · AA-large · AAA
Aa
#ababfd on black: 9.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green67.1%
Blue99.2%

CMYK percentages

Cyan32.4%
Magenta32.4%
Yellow0.0%
Key (black)0.8%

Color previews

#ababfd text on a black background

contrast 9.98:1

Card sample

#ababfd text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ababfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ababfd in the Color Lab