Skip to content

#aba2d2

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

RGB
171, 162, 210
HSL
251°, 35%, 73%
CMYK
19, 23, 0, 18
Luminance
0.3915

Every format

HEX#aba2d2
RGBrgb(171, 162, 210)
HSLhsl(251, 35%, 73%)
CMYKcmyk(19%, 23%, 0%, 18%)
LABlab(68.9 13.1 -23.2)
LCHlch(68.9 26.7 299.4)
OKLCHoklch(0.737 0.069 293.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aba2d2 on white: 2.38:1
AA ✗ fail · AA-large · AAA
Aa
#aba2d2 on black: 8.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green63.5%
Blue82.4%

CMYK percentages

Cyan18.6%
Magenta22.9%
Yellow0.0%
Key (black)17.6%

Color previews

#aba2d2 text on a black background

contrast 8.83:1

Card sample

#aba2d2 text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aba2d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aba2d2 in the Color Lab