Skip to content

#af46db

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

RGB
175, 70, 219
HSL
282°, 67%, 57%
CMYK
20, 68, 0, 14
Luminance
0.1861

Every format

HEX#af46db
RGBrgb(175, 70, 219)
HSLhsl(282, 67%, 57%)
CMYKcmyk(20%, 68%, 0%, 14%)
LABlab(50.2 64.7 -57.5)
LCHlch(50.2 86.6 318.4)
OKLCHoklch(0.599 0.226 314.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af46db on white: 4.45:1
AA ✗ fail · AA-large · AAA
Aa
#af46db on black: 4.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green27.5%
Blue85.9%

CMYK percentages

Cyan20.1%
Magenta68.0%
Yellow0.0%
Key (black)14.1%

Color previews

#af46db text on a black background

contrast 4.72:1

Card sample

#af46db text on a white background

contrast 4.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af46db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af46db in the Color Lab