Skip to content

#a0a2db

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

RGB
160, 162, 219
HSL
238°, 45%, 74%
CMYK
27, 26, 0, 14
Luminance
0.3843

Every format

HEX#a0a2db
RGBrgb(160, 162, 219)
HSLhsl(238, 45%, 74%)
CMYKcmyk(27%, 26%, 0%, 14%)
LABlab(68.3 11.8 -29.1)
LCHlch(68.3 31.4 292.1)
OKLCHoklch(0.731 0.082 282.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a0a2db on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#a0a2db on black: 8.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.7%
Green63.5%
Blue85.9%

CMYK percentages

Cyan26.9%
Magenta26.0%
Yellow0.0%
Key (black)14.1%

Color previews

#a0a2db text on a black background

contrast 8.69:1

Card sample

#a0a2db text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a0a2db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a0a2db in the Color Lab