Skip to content

#af50ce

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

RGB
175, 80, 206
HSL
285°, 56%, 56%
CMYK
15, 61, 0, 19
Luminance
0.1931

Every format

HEX#af50ce
RGBrgb(175, 80, 206)
HSLhsl(285, 56%, 56%)
CMYKcmyk(15%, 61%, 0%, 19%)
LABlab(51.0 57.7 -48.8)
LCHlch(51.0 75.5 319.8)
OKLCHoklch(0.603 0.200 317.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af50ce on white: 4.32:1
AA ✗ fail · AA-large · AAA
Aa
#af50ce on black: 4.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green31.4%
Blue80.8%

CMYK percentages

Cyan15.0%
Magenta61.2%
Yellow0.0%
Key (black)19.2%

Color previews

#af50ce text on a black background

contrast 4.86:1

Card sample

#af50ce text on a white background

contrast 4.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af50ce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af50ce in the Color Lab