Skip to content

#a393d1

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

RGB
163, 147, 209
HSL
256°, 40%, 70%
CMYK
22, 30, 0, 18
Luminance
0.3326

Every format

HEX#a393d1
RGBrgb(163, 147, 209)
HSLhsl(256, 40%, 70%)
CMYKcmyk(22%, 30%, 0%, 18%)
LABlab(64.4 18.8 -29.6)
LCHlch(64.4 35.1 302.4)
OKLCHoklch(0.700 0.091 295.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a393d1 on white: 2.74:1
AA ✗ fail · AA-large · AAA
Aa
#a393d1 on black: 7.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.9%
Green57.6%
Blue82.0%

CMYK percentages

Cyan22.0%
Magenta29.7%
Yellow0.0%
Key (black)18.0%

Color previews

#a393d1 text on a black background

contrast 7.65:1

Card sample

#a393d1 text on a white background

contrast 2.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(163, 147, 209, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(163, 147, 209, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a393d1;
background: linear-gradient(135deg, #a393d1, #CC93D1);

Monochromatic scale

Palettes built from #a393d1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a393d1 in the Color Lab