Skip to content

#dfb5ec

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

RGB
223, 181, 236
HSL
286°, 59%, 82%
CMYK
6, 23, 0, 8
Luminance
0.5479

At a glance

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

Hex
#dfb5ec
Hue
286°
violet
Saturation
59%
vivid
Lightness
82%
light
Brightness
93%
HSV value
Perceived
79%
weighted brightness
Luminance
0.5479
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
11.96:1
Closest name
Plum
ΔE2000 5.5
Where it sits
Hue286° of 360°
Saturation59%
Lightness82%
Temperature
Warm ← → Cool58% 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#dfb5ec
RGBrgb(223, 181, 236)
HSLhsl(286, 59%, 82%)
CMYKcmyk(6%, 23%, 0%, 8%)
LABlab(78.9 24.7 -21.7)
LCHlch(78.9 32.9 318.7)
OKLCHoklch(0.828 0.088 318.1)
Decimal14661100
Display P3color(display-p3 0.875 0.710 0.925)

Copy-ready code

/* CSS */
color: #dfb5ec;
background-color: #dfb5ec;
/* Tailwind (arbitrary) */
class="text-[#dfb5ec] bg-[#dfb5ec]"
/* SCSS */
$brand: #dfb5ec;
/* SwiftUI */
Color(red: 0.875, green: 0.710, blue: 0.925)
/* Android */
Color.parseColor("#dfb5ec")
/* Flutter */
Color(0xFFDFB5EC)
/* Python / OpenCV (BGR) */
(236, 181, 223)

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

Accessibility — WCAG contrast

Aa
#dfb5ec on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#dfb5ec on black: 11.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AFC1EE
deuteranopia · #B8C5EA
tritanopia · #DFBBC8

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dfb5ec 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.

#F9F4FB
#F3E9F7
#E7CDEF
#dfb5ec
#C579DD
#B24CD1
#A032C3
#862AA2
#6B2182
#4F1C5E
#31113B
Base = 300Lightest = 50 · #F9F4FBDarkest = 950 · #31113B
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F3E9F7;
  --brand-200: #E7CDEF;
  --brand-300: #dfb5ec;
  --brand-400: #C579DD;
  --brand-500: #B24CD1;
  --brand-600: #A032C3;
  --brand-700: #862AA2;
  --brand-800: #6B2182;
  --brand-900: #4F1C5E;
  --brand-950: #31113B;
  --brand: #dfb5ec;
  --brand-ink: #000000;
}

Colors that work with #dfb5ec

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#E2C0ED
Hairlines and dividers
Muted text#884B9B
Captions on the surface
Accent#65A725
Second voice, not a rival
Dark variant#541A65
Hover, pressed, headers
Light variant#F6EBFA
Selected rows, tints
Dark surface#201424
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 #dfb5ec

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#C2ECB5
Analogous left#C4B5EC
Analogous right#ECB5DE
Split-complement 1#DEECB5
Split-complement 2#B5ECC4
Triadic 1#ECDFB5
Triadic 2#B5ECDF
Tetradic#ECC4B5

RGB percentages

Red87.5%
Green71.0%
Blue92.5%

CMYK percentages

Cyan5.5%
Magenta23.3%
Yellow0.0%
Key (black)7.5%

Color previews

#dfb5ec text on a black background

contrast 11.96:1

Card sample

#dfb5ec text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb5ec

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.

#dfb5ec 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.

#dfb5ec, answered

What color is #dfb5ec?

#dfb5ec is a light vivid violet, closest to Plum (ΔE2000 5.5). It sits at 286° on the hue wheel with 59% saturation and 82% lightness, which reads as neutral.

What is the RGB value of #dfb5ec?

rgb(223, 181, 236) — 223 red, 181 green and 236 blue out of 255, or 87.5% / 71% / 92.5% by channel.

Is #dfb5ec a light or a dark color?

It is a light color. Relative luminance is 0.5479 and perceived brightness is 79%, so black text on it reaches 11.96:1.

Should I use black or white text on #dfb5ec?

Black. It scores 11.96:1 against #dfb5ec, versus 1.76:1 for white — AAA at any size.

What is the complementary color of #dfb5ec?

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

What colors go well with #dfb5ec?

For interface work: #F9F4FA as the surface, #E2C0ED for borders, #884B9B for secondary text, #65A725 as an accent and #541A65 for hover and pressed states. For a palette, the analogous pair #C4B5EC and #ECB5DE stays calm, while #C2ECB5 is the loudest partner.

What is #dfb5ec in CMYK for printing?

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

Is #dfb5ec warm or cool?

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

Work with #dfb5ec in the Color Lab