Skip to content

#af9ace

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

RGB
175, 154, 206
HSL
264°, 35%, 71%
CMYK
15, 25, 0, 19
Luminance
0.3668

Every format

HEX#af9ace
RGBrgb(175, 154, 206)
HSLhsl(264, 35%, 71%)
CMYKcmyk(15%, 25%, 0%, 19%)
LABlab(67.0 17.9 -23.8)
LCHlch(67.0 29.8 307.0)
OKLCHoklch(0.723 0.077 303.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af9ace on white: 2.52:1
AA ✗ fail · AA-large · AAA
Aa
#af9ace on black: 8.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green60.4%
Blue80.8%

CMYK percentages

Cyan15.0%
Magenta25.2%
Yellow0.0%
Key (black)19.2%

Color previews

#af9ace text on a black background

contrast 8.34:1

Card sample

#af9ace text on a white background

contrast 2.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 154, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 154, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af9ace;
background: linear-gradient(135deg, #af9ace, #CE9ACA);

Monochromatic scale

Palettes built from #af9ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af9ace in the Color Lab