Skip to content

#ddb2eb

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

RGB
221, 178, 235
HSL
285°, 59%, 81%
CMYK
6, 24, 0, 8
Luminance
0.5321

At a glance

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

Hex
#ddb2eb
Hue
285°
violet
Saturation
59%
vivid
Lightness
81%
light
Brightness
92%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5321
WCAG relative
Temperature
Cool
58/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
11.64:1
Closest name
Plum
ΔE2000 4.9
Where it sits
Hue285° of 360°
Saturation59%
Lightness81%
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#ddb2eb
RGBrgb(221, 178, 235)
HSLhsl(285, 59%, 81%)
CMYKcmyk(6%, 24%, 0%, 8%)
LABlab(78.0 25.5 -22.6)
LCHlch(78.0 34.0 318.5)
OKLCHoklch(0.820 0.091 317.7)
Decimal14529259
Display P3color(display-p3 0.867 0.698 0.922)

Copy-ready code

/* CSS */
color: #ddb2eb;
background-color: #ddb2eb;
/* Tailwind (arbitrary) */
class="text-[#ddb2eb] bg-[#ddb2eb]"
/* SCSS */
$brand: #ddb2eb;
/* SwiftUI */
Color(red: 0.867, green: 0.698, blue: 0.922)
/* Android */
Color.parseColor("#ddb2eb")
/* Flutter */
Color(0xFFDDB2EB)
/* Python / OpenCV (BGR) */
(235, 178, 221)

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

Accessibility — WCAG contrast

Aa
#ddb2eb on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#ddb2eb on black: 11.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #ABBEED
deuteranopia · #B5C2E9
tritanopia · #DDB8C6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ddb2eb 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
#ddb2eb
#C479DC
#B04DD1
#9F32C2
#852AA2
#6A2282
#4E1C5E
#31123B
Base = 300Lightest = 50 · #F9F4FBDarkest = 950 · #31123B
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F3E9F7;
  --brand-200: #E7CDEF;
  --brand-300: #ddb2eb;
  --brand-400: #C479DC;
  --brand-500: #B04DD1;
  --brand-600: #9F32C2;
  --brand-700: #852AA2;
  --brand-800: #6A2282;
  --brand-900: #4E1C5E;
  --brand-950: #31123B;
  --brand: #ddb2eb;
  --brand-ink: #000000;
}

Colors that work with #ddb2eb

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#874B9B
Captions on the surface
Accent#65A626
Second voice, not a rival
Dark variant#531A65
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 #ddb2eb

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#C0EBB2
Analogous left#C1B2EB
Analogous right#EBB2DD
Split-complement 1#DDEBB2
Split-complement 2#B2EBC1
Triadic 1#EBDDB2
Triadic 2#B2EBDD
Tetradic#EBC1B2

RGB percentages

Red86.7%
Green69.8%
Blue92.2%

CMYK percentages

Cyan6.0%
Magenta24.3%
Yellow0.0%
Key (black)7.8%

Color previews

#ddb2eb text on a black background

contrast 11.64:1

Card sample

#ddb2eb text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 178, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 178, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ddb2eb;
background: linear-gradient(135deg, #ddb2eb, #EBB2D3);

Monochromatic scale

Palettes built from #ddb2eb

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.

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

#ddb2eb, answered

What color is #ddb2eb?

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

What is the RGB value of #ddb2eb?

rgb(221, 178, 235) — 221 red, 178 green and 235 blue out of 255, or 86.7% / 69.8% / 92.2% by channel.

Is #ddb2eb a light or a dark color?

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

Should I use black or white text on #ddb2eb?

Black. It scores 11.64:1 against #ddb2eb, versus 1.80:1 for white — AAA at any size.

What is the complementary color of #ddb2eb?

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

What colors go well with #ddb2eb?

For interface work: #F9F4FA as the surface, #E2C0ED for borders, #874B9B for secondary text, #65A626 as an accent and #531A65 for hover and pressed states. For a palette, the analogous pair #C1B2EB and #EBB2DD stays calm, while #C0EBB2 is the loudest partner.

What is #ddb2eb in CMYK for printing?

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

Is #ddb2eb 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 #EBB2E4; nudged cooler, #C8B1EC.

Work with #ddb2eb in the Color Lab