Skip to content

#af5ace

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

RGB
175, 90, 206
HSL
284°, 54%, 58%
CMYK
15, 56, 0, 19
Luminance
0.2088

Every format

HEX#af5ace
RGBrgb(175, 90, 206)
HSLhsl(284, 54%, 58%)
CMYKcmyk(15%, 56%, 0%, 19%)
LABlab(52.8 52.9 -46.0)
LCHlch(52.8 70.1 319.0)
OKLCHoklch(0.616 0.185 316.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af5ace on white: 4.06:1
AA ✗ fail · AA-large · AAA
Aa
#af5ace on black: 5.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green35.3%
Blue80.8%

CMYK percentages

Cyan15.0%
Magenta56.3%
Yellow0.0%
Key (black)19.2%

Color previews

#af5ace text on a black background

contrast 5.18:1

Card sample

#af5ace text on a white background

contrast 4.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af5ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af5ace in the Color Lab