Skip to content

#af92f4

a light, electric violet · warm · closest name: plum

RGB
175, 146, 244
HSL
258°, 82%, 77%
CMYK
28, 40, 0, 4
Luminance
0.3620

Every format

HEX#af92f4
RGBrgb(175, 146, 244)
HSLhsl(258, 82%, 77%)
CMYKcmyk(28%, 40%, 0%, 4%)
LABlab(66.7 31.3 -45.3)
LCHlch(66.7 55.0 304.6)
OKLCHoklch(0.725 0.141 296.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af92f4 on white: 2.55:1
AA ✗ fail · AA-large · AAA
Aa
#af92f4 on black: 8.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green57.3%
Blue95.7%

CMYK percentages

Cyan28.3%
Magenta40.2%
Yellow0.0%
Key (black)4.3%

Color previews

#af92f4 text on a black background

contrast 8.24:1

Card sample

#af92f4 text on a white background

contrast 2.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af92f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af92f4 in the Color Lab