Skip to content

#d7acff

a light, electric violet · warm · closest name: plum

RGB
215, 172, 255
HSL
271°, 100%, 84%
CMYK
16, 33, 0, 0
Luminance
0.5117

Every format

HEX#d7acff
RGBrgb(215, 172, 255)
HSLhsl(271, 100%, 84%)
CMYKcmyk(16%, 33%, 0%, 0%)
LABlab(76.8 30.9 -35.3)
LCHlch(76.8 46.9 311.3)
OKLCHoklch(0.812 0.122 307.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7acff on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#d7acff on black: 11.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green67.5%
Blue100.0%

CMYK percentages

Cyan15.7%
Magenta32.5%
Yellow0.0%
Key (black)0.0%

Color previews

#d7acff text on a black background

contrast 11.23:1

Card sample

#d7acff text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(215, 172, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(215, 172, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d7acff;
background: linear-gradient(135deg, #d7acff, #FFACF0);

Monochromatic scale

Palettes built from #d7acff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7acff in the Color Lab