Skip to content

#d9aefd

a light, electric violet · cool · closest name: Plum

RGB
217, 174, 253
HSL
273°, 95%, 84%
CMYK
14, 31, 0, 1
Luminance
0.5212

At a glance

Every number on this page in one read: what #d9aefd is made of, how bright it looks, and which way it leans.

Hex
#d9aefd
Hue
273°
violet
Saturation
95%
electric
Lightness
84%
light
Brightness
99%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5212
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
11.42:1
Closest name
Plum
ΔE2000 7.3
Where it sits
Hue273° of 360°
Saturation95%
Lightness84%
Temperature
Warm ← → Cool65% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#d9aefd
RGBrgb(217, 174, 253)
HSLhsl(273, 95%, 84%)
CMYKcmyk(14%, 31%, 0%, 1%)
LABlab(77.3 30.0 -33.3)
LCHlch(77.3 44.8 312.1)
OKLCHoklch(0.817 0.117 308.8)
Decimal14266109
Display P3color(display-p3 0.851 0.682 0.992)

Copy-ready code

/* CSS */
color: #d9aefd;
background-color: #d9aefd;
/* Tailwind (arbitrary) */
class="text-[#d9aefd] bg-[#d9aefd]"
/* SCSS */
$brand: #d9aefd;
/* SwiftUI */
Color(red: 0.851, green: 0.682, blue: 0.992)
/* Android */
Color.parseColor("#d9aefd")
/* Flutter */
Color(0xFFD9AEFD)
/* Python / OpenCV (BGR) */
(253, 174, 217)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #d9aefd · 11.42:1
Use #000000AAA at every size.
Aa
White text · 1.84:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.42:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #d9aefd as text scores 1.84:1 on white and 11.42:1 on black.

Accessibility — WCAG contrast

Aa
#d9aefd on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#d9aefd on black: 11.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A0BDFF
deuteranopia · #A9C0FB
tritanopia · #D5B9CB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d9aefd is pinned to step 200; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F8F1FD
#F1E4FC
#d9aefd
#CC91FC
#B25BFB
#9824FA
#8506EF
#6F05C7
#59049F
#420873
#290548
Base = 200Lightest = 50 · #F8F1FDDarkest = 950 · #290548
:root {
  --brand-50: #F8F1FD;
  --brand-100: #F1E4FC;
  --brand-200: #d9aefd;
  --brand-300: #CC91FC;
  --brand-400: #B25BFB;
  --brand-500: #9824FA;
  --brand-600: #8506EF;
  --brand-700: #6F05C7;
  --brand-800: #59049F;
  --brand-900: #420873;
  --brand-950: #290548;
  --brand: #d9aefd;
  --brand-ink: #000000;
}

Colors that work with #d9aefd

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F8F4FA
Tinted page background
Border#D8C0ED
Hairlines and dividers
Muted text#764B9B
Captions on the surface
Accent#8ECC00
Second voice, not a rival
Dark variant#45037C
Hover, pressed, headers
Light variant#F3E6FE
Selected rows, tints
Dark surface#1D1424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #d9aefd

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#D2FDAE
Analogous left#B1AEFD
Analogous right#FDAEF9
Split-complement 1#F9FDAE
Split-complement 2#AEFDB1
Triadic 1#FDD9AE
Triadic 2#AEFDD9
Tetradic#FDB1AE

RGB percentages

Red85.1%
Green68.2%
Blue99.2%

CMYK percentages

Cyan14.2%
Magenta31.2%
Yellow0.0%
Key (black)0.8%

Color previews

#d9aefd text on a black background

contrast 11.42:1

Card sample

#d9aefd text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d9aefd

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#d9aefd in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#d9aefd, answered

What color is #d9aefd?

#d9aefd is a light electric violet, closest to Plum (ΔE2000 7.3). It sits at 273° on the hue wheel with 95% saturation and 84% lightness, which reads as cool.

What is the RGB value of #d9aefd?

rgb(217, 174, 253) — 217 red, 174 green and 253 blue out of 255, or 85.1% / 68.2% / 99.2% by channel.

Is #d9aefd a light or a dark color?

It is a light color. Relative luminance is 0.5212 and perceived brightness is 78%, so black text on it reaches 11.42:1.

Should I use black or white text on #d9aefd?

Black. It scores 11.42:1 against #d9aefd, versus 1.84:1 for white — AAA at any size.

What is the complementary color of #d9aefd?

#D2FDAE sits directly opposite on the wheel. Softer options are the split-complements #F9FDAE and #AEFDB1, which give the same contrast with far less vibration.

What colors go well with #d9aefd?

For interface work: #F8F4FA as the surface, #D8C0ED for borders, #764B9B for secondary text, #8ECC00 as an accent and #45037C for hover and pressed states. For a palette, the analogous pair #B1AEFD and #FDAEF9 stays calm, while #D2FDAE is the loudest partner.

What is #d9aefd in CMYK for printing?

cmyk(14%, 31%, 0%, 1%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #d9aefd warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F6AEFD; nudged cooler, #BBADFE.

Work with #d9aefd in the Color Lab