Skip to content

#ad4fd2

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

RGB
173, 79, 210
HSL
283°, 59%, 57%
CMYK
18, 62, 0, 18
Luminance
0.1913

Every format

HEX#ad4fd2
RGBrgb(173, 79, 210)
HSLhsl(283, 59%, 57%)
CMYKcmyk(18%, 62%, 0%, 18%)
LABlab(50.8 58.5 -51.4)
LCHlch(50.8 77.9 318.7)
OKLCHoklch(0.601 0.204 315.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad4fd2 on white: 4.35:1
AA ✗ fail · AA-large · AAA
Aa
#ad4fd2 on black: 4.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green31.0%
Blue82.4%

CMYK percentages

Cyan17.6%
Magenta62.4%
Yellow0.0%
Key (black)17.6%

Color previews

#ad4fd2 text on a black background

contrast 4.83:1

Card sample

#ad4fd2 text on a white background

contrast 4.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(173, 79, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 79, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad4fd2;
background: linear-gradient(135deg, #ad4fd2, #D24FA0);

Monochromatic scale

Palettes built from #ad4fd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad4fd2 in the Color Lab