Skip to content

#d2abec

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

RGB
210, 171, 236
HSL
276°, 63%, 80%
CMYK
11, 28, 0, 8
Luminance
0.4888

At a glance

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

Hex
#d2abec
Hue
276°
violet
Saturation
63%
vivid
Lightness
80%
light
Brightness
93%
HSV value
Perceived
75%
weighted brightness
Luminance
0.4888
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
10.78:1
Closest name
Plum
ΔE2000 5.4
Where it sits
Hue276° of 360°
Saturation63%
Lightness80%
Temperature
Warm ← → Cool63% 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#d2abec
RGBrgb(210, 171, 236)
HSLhsl(276, 63%, 80%)
CMYKcmyk(11%, 28%, 0%, 8%)
LABlab(75.4 26.0 -27.2)
LCHlch(75.4 37.6 313.7)
OKLCHoklch(0.798 0.099 311.4)
Decimal13806572
Display P3color(display-p3 0.824 0.671 0.925)

Copy-ready code

/* CSS */
color: #d2abec;
background-color: #d2abec;
/* Tailwind (arbitrary) */
class="text-[#d2abec] bg-[#d2abec]"
/* SCSS */
$brand: #d2abec;
/* SwiftUI */
Color(red: 0.824, green: 0.671, blue: 0.925)
/* Android */
Color.parseColor("#d2abec")
/* Flutter */
Color(0xFFD2ABEC)
/* Python / OpenCV (BGR) */
(236, 171, 210)

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

Accessibility — WCAG contrast

Aa
#d2abec on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#d2abec on black: 10.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A1B8EF
deuteranopia · #A9BBEA
tritanopia · #D0B3C2

Color scale — 50 to 950

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

#F8F4FB
#F1E8F7
#E2CBF0
#d2abec
#B576E0
#9D48D6
#8A2DC8
#7326A6
#5C1E85
#441A61
#2B103C
Base = 300Lightest = 50 · #F8F4FBDarkest = 950 · #2B103C
:root {
  --brand-50: #F8F4FB;
  --brand-100: #F1E8F7;
  --brand-200: #E2CBF0;
  --brand-300: #d2abec;
  --brand-400: #B576E0;
  --brand-500: #9D48D6;
  --brand-600: #8A2DC8;
  --brand-700: #7326A6;
  --brand-800: #5C1E85;
  --brand-900: #441A61;
  --brand-950: #2B103C;
  --brand: #d2abec;
  --brand-ink: #000000;
}

Colors that work with #d2abec

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#DBC0ED
Hairlines and dividers
Muted text#7B4B9B
Captions on the surface
Accent#7BAA22
Second voice, not a rival
Dark variant#481868
Hover, pressed, headers
Light variant#F4EAFA
Selected rows, tints
Dark surface#1E1424
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 #d2abec

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#C5ECAB
Analogous left#B1ABEC
Analogous right#ECABE5
Split-complement 1#E5ECAB
Split-complement 2#ABECB1
Triadic 1#ECD2AB
Triadic 2#ABECD2
Tetradic#ECB1AB

RGB percentages

Red82.4%
Green67.1%
Blue92.5%

CMYK percentages

Cyan11.0%
Magenta27.5%
Yellow0.0%
Key (black)7.5%

Color previews

#d2abec text on a black background

contrast 10.78:1

Card sample

#d2abec text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2abec

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.

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

#d2abec, answered

What color is #d2abec?

#d2abec is a light vivid violet, closest to Plum (ΔE2000 5.4). It sits at 276° on the hue wheel with 63% saturation and 80% lightness, which reads as cool.

What is the RGB value of #d2abec?

rgb(210, 171, 236) — 210 red, 171 green and 236 blue out of 255, or 82.4% / 67.1% / 92.5% by channel.

Is #d2abec a light or a dark color?

It is a mid-tone. Relative luminance is 0.4888 and perceived brightness is 75%, so black text on it reaches 10.78:1.

Should I use black or white text on #d2abec?

Black. It scores 10.78:1 against #d2abec, versus 1.95:1 for white — AAA at any size.

What is the complementary color of #d2abec?

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

What colors go well with #d2abec?

For interface work: #F8F4FA as the surface, #DBC0ED for borders, #7B4B9B for secondary text, #7BAA22 as an accent and #481868 for hover and pressed states. For a palette, the analogous pair #B1ABEC and #ECABE5 stays calm, while #C5ECAB is the loudest partner.

What is #d2abec in CMYK for printing?

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

Is #d2abec warm or cool?

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

Work with #d2abec in the Color Lab