Skip to content

#a68fd2

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

RGB
166, 143, 210
HSL
261°, 43%, 69%
CMYK
21, 32, 0, 18
Luminance
0.3241

Every format

HEX#a68fd2
RGBrgb(166, 143, 210)
HSLhsl(261, 43%, 69%)
CMYKcmyk(21%, 32%, 0%, 18%)
LABlab(63.7 22.2 -31.3)
LCHlch(63.7 38.4 305.4)
OKLCHoklch(0.696 0.099 299.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a68fd2 on white: 2.81:1
AA ✗ fail · AA-large · AAA
Aa
#a68fd2 on black: 7.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.1%
Green56.1%
Blue82.4%

CMYK percentages

Cyan21.0%
Magenta31.9%
Yellow0.0%
Key (black)17.6%

Color previews

#a68fd2 text on a black background

contrast 7.48:1

Card sample

#a68fd2 text on a white background

contrast 2.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a68fd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a68fd2 in the Color Lab