Skip to content

#af4fdf

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

RGB
175, 79, 223
HSL
280°, 69%, 59%
CMYK
22, 65, 0, 13
Luminance
0.2003

Every format

HEX#af4fdf
RGBrgb(175, 79, 223)
HSLhsl(280, 69%, 59%)
CMYKcmyk(22%, 65%, 0%, 13%)
LABlab(51.9 61.6 -57.1)
LCHlch(51.9 84.0 317.2)
OKLCHoklch(0.612 0.218 312.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af4fdf on white: 4.19:1
AA ✗ fail · AA-large · AAA
Aa
#af4fdf on black: 5.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green31.0%
Blue87.5%

CMYK percentages

Cyan21.5%
Magenta64.6%
Yellow0.0%
Key (black)12.5%

Color previews

#af4fdf text on a black background

contrast 5.01:1

Card sample

#af4fdf text on a white background

contrast 4.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af4fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af4fdf in the Color Lab