Skip to content

#d2abf1

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

RGB
210, 171, 241
HSL
273°, 71%, 81%
CMYK
13, 29, 0, 6
Luminance
0.4918

At a glance

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

Hex
#d2abf1
Hue
273°
violet
Saturation
71%
vivid
Lightness
81%
light
Brightness
95%
HSV value
Perceived
75%
weighted brightness
Luminance
0.4918
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
10.84:1
Closest name
Plum
ΔE2000 6.2
Where it sits
Hue273° of 360°
Saturation71%
Lightness81%
Temperature
Warm ← → Cool65% 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#d2abf1
RGBrgb(210, 171, 241)
HSLhsl(273, 71%, 81%)
CMYKcmyk(13%, 29%, 0%, 6%)
LABlab(75.6 27.0 -29.6)
LCHlch(75.6 40.1 312.4)
OKLCHoklch(0.800 0.105 309.5)
Decimal13806577
Display P3color(display-p3 0.824 0.671 0.945)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2abf1 on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#d2abf1 on black: 10.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9FB8F4
deuteranopia · #A7BBEF
tritanopia · #CFB4C4

Color scale — 50 to 950

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

#F8F3FC
#F1E7F8
#E0C9F3
#d2abf1
#B26FE7
#983FDF
#8423D2
#6E1DAF
#58178C
#421565
#290D3F
Base = 300Lightest = 50 · #F8F3FCDarkest = 950 · #290D3F
:root {
  --brand-50: #F8F3FC;
  --brand-100: #F1E7F8;
  --brand-200: #E0C9F3;
  --brand-300: #d2abf1;
  --brand-400: #B26FE7;
  --brand-500: #983FDF;
  --brand-600: #8423D2;
  --brand-700: #6E1DAF;
  --brand-800: #58178C;
  --brand-900: #421565;
  --brand-950: #290D3F;
  --brand: #d2abf1;
  --brand-ink: #000000;
}

Colors that work with #d2abf1

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#D9C0ED
Hairlines and dividers
Muted text#774B9B
Captions on the surface
Accent#83B319
Second voice, not a rival
Dark variant#45126D
Hover, pressed, headers
Light variant#F3E9FB
Selected rows, tints
Dark surface#1D1424
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 #d2abf1

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#CAF1AB
Analogous left#AFABF1
Analogous right#F1ABED
Split-complement 1#EDF1AB
Split-complement 2#ABF1AF
Triadic 1#F1D2AB
Triadic 2#ABF1D2
Tetradic#F1AFAB

RGB percentages

Red82.4%
Green67.1%
Blue94.5%

CMYK percentages

Cyan12.9%
Magenta29.0%
Yellow0.0%
Key (black)5.5%

Color previews

#d2abf1 text on a black background

contrast 10.84:1

Card sample

#d2abf1 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2abf1

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.

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

#d2abf1, answered

What color is #d2abf1?

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

What is the RGB value of #d2abf1?

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

Is #d2abf1 a light or a dark color?

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

Should I use black or white text on #d2abf1?

Black. It scores 10.84:1 against #d2abf1, versus 1.94:1 for white — AAA at any size.

What is the complementary color of #d2abf1?

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

What colors go well with #d2abf1?

For interface work: #F8F4FA as the surface, #D9C0ED for borders, #774B9B for secondary text, #83B319 as an accent and #45126D for hover and pressed states. For a palette, the analogous pair #AFABF1 and #F1ABED stays calm, while #CAF1AB is the loudest partner.

What is #d2abf1 in CMYK for printing?

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

Is #d2abf1 warm or cool?

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

Work with #d2abf1 in the Color Lab