Skip to content

#af45da

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

RGB
175, 69, 218
HSL
283°, 67%, 56%
CMYK
20, 68, 0, 15
Luminance
0.1843

Every format

HEX#af45da
RGBrgb(175, 69, 218)
HSLhsl(283, 67%, 56%)
CMYKcmyk(20%, 68%, 0%, 15%)
LABlab(50.0 64.9 -57.3)
LCHlch(50.0 86.6 318.6)
OKLCHoklch(0.598 0.226 314.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af45da on white: 4.48:1
AA ✗ fail · AA-large · AAA
Aa
#af45da on black: 4.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green27.1%
Blue85.5%

CMYK percentages

Cyan19.7%
Magenta68.3%
Yellow0.0%
Key (black)14.5%

Color previews

#af45da text on a black background

contrast 4.69:1

Card sample

#af45da text on a white background

contrast 4.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af45da

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af45da in the Color Lab