Skip to content

#af2ced

a balanced, electric violet · warm · closest name: magenta

RGB
175, 44, 237
HSL
281°, 84%, 55%
CMYK
26, 81, 0, 7
Luminance
0.1703

Every format

HEX#af2ced
RGBrgb(175, 44, 237)
HSLhsl(281, 84%, 55%)
CMYKcmyk(26%, 81%, 0%, 7%)
LABlab(48.3 77.3 -70.8)
LCHlch(48.3 104.8 317.5)
OKLCHoklch(0.590 0.267 311.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af2ced on white: 4.77:1
AA ✓ pass · AA-large · AAA
Aa
#af2ced on black: 4.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green17.3%
Blue92.9%

CMYK percentages

Cyan26.2%
Magenta81.4%
Yellow0.0%
Key (black)7.1%

Color previews

#af2ced text on a black background

contrast 4.41:1

Card sample

#af2ced text on a white background

contrast 4.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af2ced

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af2ced in the Color Lab