Skip to content

#af7edc

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

RGB
175, 126, 220
HSL
271°, 57%, 68%
CMYK
21, 43, 0, 14
Luminance
0.2920

Every format

HEX#af7edc
RGBrgb(175, 126, 220)
HSLhsl(271, 57%, 68%)
CMYKcmyk(21%, 43%, 0%, 14%)
LABlab(61.0 36.8 -41.0)
LCHlch(61.0 55.1 311.9)
OKLCHoklch(0.678 0.143 307.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af7edc on white: 3.07:1
AA ✗ fail · AA-large · AAA
Aa
#af7edc on black: 6.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green49.4%
Blue86.3%

CMYK percentages

Cyan20.5%
Magenta42.7%
Yellow0.0%
Key (black)13.7%

Color previews

#af7edc text on a black background

contrast 6.84:1

Card sample

#af7edc text on a white background

contrast 3.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af7edc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af7edc in the Color Lab