Skip to content

#a399ff

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

RGB
163, 153, 255
HSL
246°, 100%, 80%
CMYK
36, 40, 0, 0
Luminance
0.3779

Every format

HEX#a399ff
RGBrgb(163, 153, 255)
HSLhsl(246, 100%, 80%)
CMYKcmyk(36%, 40%, 0%, 0%)
LABlab(67.9 26.9 -49.5)
LCHlch(67.9 56.3 298.5)
OKLCHoklch(0.734 0.145 286.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a399ff on white: 2.45:1
AA ✗ fail · AA-large · AAA
Aa
#a399ff on black: 8.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.9%
Green60.0%
Blue100.0%

CMYK percentages

Cyan36.1%
Magenta40.0%
Yellow0.0%
Key (black)0.0%

Color previews

#a399ff text on a black background

contrast 8.56:1

Card sample

#a399ff text on a white background

contrast 2.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a399ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a399ff in the Color Lab