Skip to content

#ae7fdb

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

RGB
174, 127, 219
HSL
271°, 56%, 68%
CMYK
21, 42, 0, 14
Luminance
0.2929

Every format

HEX#ae7fdb
RGBrgb(174, 127, 219)
HSLhsl(271, 56%, 68%)
CMYKcmyk(21%, 42%, 0%, 14%)
LABlab(61.0 35.7 -40.3)
LCHlch(61.0 53.9 311.5)
OKLCHoklch(0.679 0.140 306.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae7fdb on white: 3.06:1
AA ✗ fail · AA-large · AAA
Aa
#ae7fdb on black: 6.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green49.8%
Blue85.9%

CMYK percentages

Cyan20.5%
Magenta42.0%
Yellow0.0%
Key (black)14.1%

Color previews

#ae7fdb text on a black background

contrast 6.86:1

Card sample

#ae7fdb text on a white background

contrast 3.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae7fdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae7fdb in the Color Lab