Skip to content

#ababdc

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

RGB
171, 171, 220
HSL
240°, 41%, 77%
CMYK
22, 22, 0, 14
Luminance
0.4295

Every format

HEX#ababdc
RGBrgb(171, 171, 220)
HSLhsl(240, 41%, 77%)
CMYKcmyk(22%, 22%, 0%, 14%)
LABlab(71.5 10.3 -24.7)
LCHlch(71.5 26.8 292.7)
OKLCHoklch(0.758 0.070 284.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ababdc on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#ababdc on black: 9.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green67.1%
Blue86.3%

CMYK percentages

Cyan22.3%
Magenta22.3%
Yellow0.0%
Key (black)13.7%

Color previews

#ababdc text on a black background

contrast 9.59:1

Card sample

#ababdc text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ababdc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ababdc in the Color Lab