Skip to content

#af92f3

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

RGB
175, 146, 243
HSL
258°, 80%, 76%
CMYK
28, 40, 0, 5
Luminance
0.3614

Every format

HEX#af92f3
RGBrgb(175, 146, 243)
HSLhsl(258, 80%, 76%)
CMYKcmyk(28%, 40%, 0%, 5%)
LABlab(66.6 31.0 -44.8)
LCHlch(66.6 54.5 304.7)
OKLCHoklch(0.725 0.140 296.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan28.0%
Magenta39.9%
Yellow0.0%
Key (black)4.7%

Color previews

#af92f3 text on a black background

contrast 8.23:1

Card sample

#af92f3 text on a white background

contrast 2.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af92f3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af92f3 in the Color Lab