Skip to content

#af75cc

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

RGB
175, 117, 204
HSL
280°, 46%, 63%
CMYK
14, 43, 0, 20
Luminance
0.2620

Every format

HEX#af75cc
RGBrgb(175, 117, 204)
HSLhsl(280, 46%, 63%)
CMYKcmyk(14%, 43%, 0%, 20%)
LABlab(58.2 38.2 -36.3)
LCHlch(58.2 52.7 316.5)
OKLCHoklch(0.655 0.139 313.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af75cc on white: 3.37:1
AA ✗ fail · AA-large · AAA
Aa
#af75cc on black: 6.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green45.9%
Blue80.0%

CMYK percentages

Cyan14.2%
Magenta42.6%
Yellow0.0%
Key (black)20.0%

Color previews

#af75cc text on a black background

contrast 6.24:1

Card sample

#af75cc text on a white background

contrast 3.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af75cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af75cc in the Color Lab