Skip to content

#a26ade

a balanced, vivid violet · warm · closest name: slateblue

RGB
162, 106, 222
HSL
269°, 64%, 64%
CMYK
27, 52, 0, 13
Luminance
0.2326

Every format

HEX#a26ade
RGBrgb(162, 106, 222)
HSLhsl(269, 64%, 64%)
CMYKcmyk(27%, 52%, 0%, 13%)
LABlab(55.3 44.8 -51.1)
LCHlch(55.3 67.9 311.2)
OKLCHoklch(0.634 0.174 304.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a26ade on white: 3.72:1
AA ✗ fail · AA-large · AAA
Aa
#a26ade on black: 5.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green41.6%
Blue87.1%

CMYK percentages

Cyan27.0%
Magenta52.3%
Yellow0.0%
Key (black)12.9%

Color previews

#a26ade text on a black background

contrast 5.65:1

Card sample

#a26ade text on a white background

contrast 3.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a26ade

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a26ade in the Color Lab