Skip to content

#dabfef

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

RGB
218, 191, 239
HSL
274°, 60%, 84%
CMYK
9, 20, 0, 6
Luminance
0.5840

Every format

HEX#dabfef
RGBrgb(218, 191, 239)
HSLhsl(274, 60%, 84%)
CMYKcmyk(9%, 20%, 0%, 6%)
LABlab(81.0 18.3 -20.2)
LCHlch(81.0 27.3 312.1)
OKLCHoklch(0.843 0.072 310.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dabfef on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#dabfef on black: 12.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green74.9%
Blue93.7%

CMYK percentages

Cyan8.8%
Magenta20.1%
Yellow0.0%
Key (black)6.3%

Color previews

#dabfef text on a black background

contrast 12.68:1

Card sample

#dabfef text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dabfef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dabfef in the Color Lab