Skip to content

#af8ace

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

RGB
175, 138, 206
HSL
273°, 41%, 68%
CMYK
15, 33, 0, 19
Luminance
0.3175

Every format

HEX#af8ace
RGBrgb(175, 138, 206)
HSLhsl(273, 41%, 68%)
CMYKcmyk(15%, 33%, 0%, 19%)
LABlab(63.1 26.9 -29.8)
LCHlch(63.1 40.2 312.1)
OKLCHoklch(0.693 0.105 308.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af8ace on white: 2.86:1
AA ✗ fail · AA-large · AAA
Aa
#af8ace on black: 7.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green54.1%
Blue80.8%

CMYK percentages

Cyan15.0%
Magenta33.0%
Yellow0.0%
Key (black)19.2%

Color previews

#af8ace text on a black background

contrast 7.35:1

Card sample

#af8ace text on a white background

contrast 2.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af8ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af8ace in the Color Lab