Skip to content

#d0aff8

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

RGB
208, 175, 248
HSL
267°, 84%, 83%
CMYK
16, 29, 0, 3
Luminance
0.5085

Every format

HEX#d0aff8
RGBrgb(208, 175, 248)
HSLhsl(267, 84%, 83%)
CMYKcmyk(16%, 29%, 0%, 3%)
LABlab(76.6 25.7 -31.8)
LCHlch(76.6 40.9 308.9)
OKLCHoklch(0.808 0.106 304.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0aff8 on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#d0aff8 on black: 11.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green68.6%
Blue97.3%

CMYK percentages

Cyan16.1%
Magenta29.4%
Yellow0.0%
Key (black)2.7%

Color previews

#d0aff8 text on a black background

contrast 11.17:1

Card sample

#d0aff8 text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0aff8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0aff8 in the Color Lab