Skip to content

#dfb8ec

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

RGB
223, 184, 236
HSL
285°, 58%, 82%
CMYK
6, 22, 0, 8
Luminance
0.5603

At a glance

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

Hex
#dfb8ec
Hue
285°
violet
Saturation
58%
vivid
Lightness
82%
light
Brightness
93%
HSV value
Perceived
79%
weighted brightness
Luminance
0.5603
WCAG relative
Temperature
Cool
58/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
12.21:1
Closest name
Plum
ΔE2000 6.3
Where it sits
Hue285° of 360°
Saturation58%
Lightness82%
Temperature
Warm ← → Cool58% 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#dfb8ec
RGBrgb(223, 184, 236)
HSLhsl(285, 58%, 82%)
CMYKcmyk(6%, 22%, 0%, 8%)
LABlab(79.6 23.1 -20.6)
LCHlch(79.6 30.9 318.2)
OKLCHoklch(0.833 0.083 317.6)
Decimal14661868
Display P3color(display-p3 0.875 0.722 0.925)

Copy-ready code

/* CSS */
color: #dfb8ec;
background-color: #dfb8ec;
/* Tailwind (arbitrary) */
class="text-[#dfb8ec] bg-[#dfb8ec]"
/* SCSS */
$brand: #dfb8ec;
/* SwiftUI */
Color(red: 0.875, green: 0.722, blue: 0.925)
/* Android */
Color.parseColor("#dfb8ec")
/* Flutter */
Color(0xFFDFB8EC)
/* Python / OpenCV (BGR) */
(236, 184, 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 #dfb8ec · 12.21:1
Use #000000AAA at every size.
Aa
White text · 1.72:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.21:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #dfb8ec as text scores 1.72:1 on white and 12.21:1 on black.

Accessibility — WCAG contrast

Aa
#dfb8ec on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#dfb8ec on black: 12.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B2C3EE
deuteranopia · #BAC7EA
tritanopia · #DFBECA

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dfb8ec 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
#E6CDEF
#dfb8ec
#C37ADB
#AF4ED0
#9E34C1
#832BA1
#692281
#4D1D5E
#30123B
Base = 300Lightest = 50 · #F9F4FBDarkest = 950 · #30123B
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F3E9F7;
  --brand-200: #E6CDEF;
  --brand-300: #dfb8ec;
  --brand-400: #C37ADB;
  --brand-500: #AF4ED0;
  --brand-600: #9E34C1;
  --brand-700: #832BA1;
  --brand-800: #692281;
  --brand-900: #4D1D5E;
  --brand-950: #30123B;
  --brand: #dfb8ec;
  --brand-ink: #000000;
}

Colors that work with #dfb8ec

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#E1C0ED
Hairlines and dividers
Muted text#874B9B
Captions on the surface
Accent#66A527
Second voice, not a rival
Dark variant#521B65
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 #dfb8ec

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#C5ECB8
Analogous left#C5B8EC
Analogous right#ECB8DF
Split-complement 1#DFECB8
Split-complement 2#B8ECC5
Triadic 1#ECDFB8
Triadic 2#B8ECDF
Tetradic#ECC5B8

RGB percentages

Red87.5%
Green72.2%
Blue92.5%

CMYK percentages

Cyan5.5%
Magenta22.0%
Yellow0.0%
Key (black)7.5%

Color previews

#dfb8ec text on a black background

contrast 12.21:1

Card sample

#dfb8ec text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb8ec

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.

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

#dfb8ec, answered

What color is #dfb8ec?

#dfb8ec is a light vivid violet, closest to Plum (ΔE2000 6.3). It sits at 285° on the hue wheel with 58% saturation and 82% lightness, which reads as cool.

What is the RGB value of #dfb8ec?

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

Is #dfb8ec a light or a dark color?

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

Should I use black or white text on #dfb8ec?

Black. It scores 12.21:1 against #dfb8ec, versus 1.72:1 for white — AAA at any size.

What is the complementary color of #dfb8ec?

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

What colors go well with #dfb8ec?

For interface work: #F9F4FA as the surface, #E1C0ED for borders, #874B9B for secondary text, #66A527 as an accent and #521B65 for hover and pressed states. For a palette, the analogous pair #C5B8EC and #ECB8DF stays calm, while #C5ECB8 is the loudest partner.

What is #dfb8ec in CMYK for printing?

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

Is #dfb8ec warm or cool?

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

Work with #dfb8ec in the Color Lab