Skip to content

#af3fda

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

RGB
175, 63, 218
HSL
283°, 68%, 55%
CMYK
20, 71, 0, 15
Luminance
0.1773

Every format

HEX#af3fda
RGBrgb(175, 63, 218)
HSLhsl(283, 68%, 55%)
CMYKcmyk(20%, 71%, 0%, 15%)
LABlab(49.2 67.3 -58.6)
LCHlch(49.2 89.3 319.0)
OKLCHoklch(0.592 0.233 314.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af3fda on white: 4.62:1
AA ✓ pass · AA-large · AAA
Aa
#af3fda on black: 4.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green24.7%
Blue85.5%

CMYK percentages

Cyan19.7%
Magenta71.1%
Yellow0.0%
Key (black)14.5%

Color previews

#af3fda text on a black background

contrast 4.55:1

Card sample

#af3fda text on a white background

contrast 4.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3fda

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af3fda in the Color Lab