Skip to content

#d4a5df

a light, vivid violet · neutral · closest name: Plum

RGB
212, 165, 223
HSL
289°, 48%, 76%
CMYK
5, 26, 0, 13
Luminance
0.4624

At a glance

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

Hex
#d4a5df
Hue
289°
violet
Saturation
48%
vivid
Lightness
76%
light
Brightness
87%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4624
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
10.25:1
Closest name
Plum
ΔE2000 2.7
Where it sits
Hue289° of 360°
Saturation48%
Lightness76%
Temperature
Warm ← → Cool56% cool

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

Every format

HEX#d4a5df
RGBrgb(212, 165, 223)
HSLhsl(289, 48%, 76%)
CMYKcmyk(5%, 26%, 0%, 13%)
LABlab(73.7 27.3 -22.7)
LCHlch(73.7 35.5 320.3)
OKLCHoklch(0.784 0.095 319.9)
Decimal13936095
Display P3color(display-p3 0.831 0.647 0.875)

Copy-ready code

/* CSS */
color: #d4a5df;
background-color: #d4a5df;
/* Tailwind (arbitrary) */
class="text-[#d4a5df] bg-[#d4a5df]"
/* SCSS */
$brand: #d4a5df;
/* SwiftUI */
Color(red: 0.831, green: 0.647, blue: 0.875)
/* Android */
Color.parseColor("#d4a5df")
/* Flutter */
Color(0xFFD4A5DF)
/* Python / OpenCV (BGR) */
(223, 165, 212)

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 #d4a5df · 10.25:1
Use #000000AAA at every size.
Aa
White text · 2.05:1
AA fail · AA large fail · AAA fail
Aa
Black text · 10.25:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #d4a5df as text scores 2.05:1 on white and 10.25:1 on black.

Accessibility — WCAG contrast

Aa
#d4a5df on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#d4a5df on black: 10.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9FB2E1
deuteranopia · #A9B7DD
tritanopia · #D5ABB9

Color scale — 50 to 950

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

#F9F5FA
#F3EAF5
#E6D0EC
#d4a5df
#C483D3
#B05AC4
#9E40B5
#843696
#6A2B78
#4E2258
#311637
Base = 300Lightest = 50 · #F9F5FADarkest = 950 · #311637
:root {
  --brand-50: #F9F5FA;
  --brand-100: #F3EAF5;
  --brand-200: #E6D0EC;
  --brand-300: #d4a5df;
  --brand-400: #C483D3;
  --brand-500: #B05AC4;
  --brand-600: #9E40B5;
  --brand-700: #843696;
  --brand-800: #6A2B78;
  --brand-900: #4E2258;
  --brand-950: #311637;
  --brand: #d4a5df;
  --brand-ink: #000000;
}

Colors that work with #d4a5df

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#F9F4FA
Tinted page background
Border#E2C3EA
Hairlines and dividers
Muted text#8C4B9B
Captions on the surface
Accent#5F9A32
Second voice, not a rival
Dark variant#53215E
Hover, pressed, headers
Light variant#F6ECF8
Selected rows, tints
Dark surface#211424
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 #d4a5df

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#B0DFA5
Analogous left#B7A5DF
Analogous right#DFA5CD
Split-complement 1#CDDFA5
Split-complement 2#A5DFB7
Triadic 1#DFD4A5
Triadic 2#A5DFD4
Tetradic#DFB7A5

RGB percentages

Red83.1%
Green64.7%
Blue87.5%

CMYK percentages

Cyan4.9%
Magenta26.0%
Yellow0.0%
Key (black)12.5%

Color previews

#d4a5df text on a black background

contrast 10.25:1

Card sample

#d4a5df text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(212, 165, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(212, 165, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d4a5df;
background: linear-gradient(135deg, #d4a5df, #DFA5C3);

Monochromatic scale

Palettes built from #d4a5df

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.

#d4a5df 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

Converts to four-color process without much drama. Proof it anyway.

#d4a5df, answered

What color is #d4a5df?

#d4a5df is a light vivid violet, closest to Plum (ΔE2000 2.7). It sits at 289° on the hue wheel with 48% saturation and 76% lightness, which reads as neutral.

What is the RGB value of #d4a5df?

rgb(212, 165, 223) — 212 red, 165 green and 223 blue out of 255, or 83.1% / 64.7% / 87.5% by channel.

Is #d4a5df a light or a dark color?

It is a mid-tone. Relative luminance is 0.4624 and perceived brightness is 73%, so black text on it reaches 10.25:1.

Should I use black or white text on #d4a5df?

Black. It scores 10.25:1 against #d4a5df, versus 2.05:1 for white — AAA at any size.

What is the complementary color of #d4a5df?

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

What colors go well with #d4a5df?

For interface work: #F9F4FA as the surface, #E2C3EA for borders, #8C4B9B for secondary text, #5F9A32 as an accent and #53215E for hover and pressed states. For a palette, the analogous pair #B7A5DF and #DFA5CD stays calm, while #B0DFA5 is the loudest partner.

What is #d4a5df in CMYK for printing?

cmyk(5%, 26%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #d4a5df warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DFA5D5; nudged cooler, #BFA4E0.

Work with #d4a5df in the Color Lab