Skip to content

#af7ace

a balanced, vivid violet · warm · closest name: orchid

RGB
175, 122, 206
HSL
278°, 46%, 64%
CMYK
15, 41, 0, 19
Luminance
0.2749

Every format

HEX#af7ace
RGBrgb(175, 122, 206)
HSLhsl(278, 46%, 64%)
CMYKcmyk(15%, 41%, 0%, 19%)
LABlab(59.4 35.9 -35.5)
LCHlch(59.4 50.5 315.3)
OKLCHoklch(0.665 0.133 312.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af7ace on white: 3.23:1
AA ✗ fail · AA-large · AAA
Aa
#af7ace on black: 6.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green47.8%
Blue80.8%

CMYK percentages

Cyan15.0%
Magenta40.8%
Yellow0.0%
Key (black)19.2%

Color previews

#af7ace text on a black background

contrast 6.50:1

Card sample

#af7ace text on a white background

contrast 3.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af7ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af7ace in the Color Lab