Skip to content

#af50c3

a balanced, vivid violet · warm · closest name: orchid

RGB
175, 80, 195
HSL
290°, 49%, 54%
CMYK
10, 59, 0, 24
Luminance
0.1879

Every format

HEX#af50c3
RGBrgb(175, 80, 195)
HSLhsl(290, 49%, 54%)
CMYKcmyk(10%, 59%, 0%, 24%)
LABlab(50.4 55.5 -43.4)
LCHlch(50.4 70.5 322.0)
OKLCHoklch(0.596 0.189 320.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green31.4%
Blue76.5%

CMYK percentages

Cyan10.3%
Magenta59.0%
Yellow0.0%
Key (black)23.5%

Color previews

#af50c3 text on a black background

contrast 4.76:1

Card sample

#af50c3 text on a white background

contrast 4.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af50c3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af50c3 in the Color Lab