Skip to content

#af3fee

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

RGB
175, 63, 238
HSL
278°, 84%, 59%
CMYK
27, 74, 0, 7
Luminance
0.1884

Every format

HEX#af3fee
RGBrgb(175, 63, 238)
HSLhsl(278, 84%, 59%)
CMYKcmyk(27%, 74%, 0%, 7%)
LABlab(50.5 71.3 -67.8)
LCHlch(50.5 98.4 316.5)
OKLCHoklch(0.605 0.251 310.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green24.7%
Blue93.3%

CMYK percentages

Cyan26.5%
Magenta73.5%
Yellow0.0%
Key (black)6.7%

Color previews

#af3fee text on a black background

contrast 4.77:1

Card sample

#af3fee text on a white background

contrast 4.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3fee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af3fee in the Color Lab