Skip to content

#af6cdb

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

RGB
175, 108, 219
HSL
276°, 61%, 64%
CMYK
20, 51, 0, 14
Luminance
0.2495

Every format

HEX#af6cdb
RGBrgb(175, 108, 219)
HSLhsl(276, 61%, 64%)
CMYKcmyk(20%, 51%, 0%, 14%)
LABlab(57.0 46.4 -46.6)
LCHlch(57.0 65.8 314.8)
OKLCHoklch(0.649 0.171 310.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af6cdb on white: 3.51:1
AA ✗ fail · AA-large · AAA
Aa
#af6cdb on black: 5.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green42.4%
Blue85.9%

CMYK percentages

Cyan20.1%
Magenta50.7%
Yellow0.0%
Key (black)14.1%

Color previews

#af6cdb text on a black background

contrast 5.99:1

Card sample

#af6cdb text on a white background

contrast 3.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af6cdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af6cdb in the Color Lab