Skip to content

#aba2ff

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

RGB
171, 162, 255
HSL
246°, 100%, 82%
CMYK
33, 37, 0, 0
Luminance
0.4172

Every format

HEX#aba2ff
RGBrgb(171, 162, 255)
HSLhsl(246, 100%, 82%)
CMYKcmyk(33%, 37%, 0%, 0%)
LABlab(70.7 23.9 -45.0)
LCHlch(70.7 51.0 298.0)
OKLCHoklch(0.756 0.132 287.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aba2ff on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#aba2ff on black: 9.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green63.5%
Blue100.0%

CMYK percentages

Cyan32.9%
Magenta36.5%
Yellow0.0%
Key (black)0.0%

Color previews

#aba2ff text on a black background

contrast 9.34:1

Card sample

#aba2ff text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aba2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aba2ff in the Color Lab