Skip to content

#af76c3

a balanced, soft violet · warm · closest name: plum

RGB
175, 118, 195
HSL
284°, 39%, 61%
CMYK
10, 40, 0, 24
Luminance
0.2601

Every format

HEX#af76c3
RGBrgb(175, 118, 195)
HSLhsl(284, 39%, 61%)
CMYKcmyk(10%, 40%, 0%, 24%)
LABlab(58.0 35.8 -31.5)
LCHlch(58.0 47.7 318.7)
OKLCHoklch(0.653 0.127 317.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af76c3 on white: 3.39:1
AA ✗ fail · AA-large · AAA
Aa
#af76c3 on black: 6.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green46.3%
Blue76.5%

CMYK percentages

Cyan10.3%
Magenta39.5%
Yellow0.0%
Key (black)23.5%

Color previews

#af76c3 text on a black background

contrast 6.20:1

Card sample

#af76c3 text on a white background

contrast 3.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af76c3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af76c3 in the Color Lab