Skip to content

#d2acfe

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

RGB
210, 172, 254
HSL
268°, 98%, 84%
CMYK
17, 32, 0, 0
Luminance
0.5036

At a glance

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

Hex
#d2acfe
Hue
268°
violet
Saturation
98%
electric
Lightness
84%
light
Brightness
100%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5036
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
11.07:1
Closest name
Plum
ΔE2000 8.4
Where it sits
Hue268° of 360°
Saturation98%
Lightness84%
Temperature
Warm ← → Cool68% 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#d2acfe
RGBrgb(210, 172, 254)
HSLhsl(268, 98%, 84%)
CMYKcmyk(17%, 32%, 0%, 0%)
LABlab(76.3 29.2 -35.5)
LCHlch(76.3 46.0 309.5)
OKLCHoklch(0.807 0.120 305.1)
Decimal13806846
Display P3color(display-p3 0.824 0.675 0.996)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2acfe on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#d2acfe on black: 11.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9BBBFF
deuteranopia · #A3BCFC
tritanopia · #CBB8CA

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d2acfe is pinned to step 200; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F7F1FD
#EFE4FC
#d2acfe
#C390FE
#A559FD
#8721FC
#7203F2
#5F02CA
#4C02A1
#390674
#240449
Base = 200Lightest = 50 · #F7F1FDDarkest = 950 · #240449
:root {
  --brand-50: #F7F1FD;
  --brand-100: #EFE4FC;
  --brand-200: #d2acfe;
  --brand-300: #C390FE;
  --brand-400: #A559FD;
  --brand-500: #8721FC;
  --brand-600: #7203F2;
  --brand-700: #5F02CA;
  --brand-800: #4C02A1;
  --brand-900: #390674;
  --brand-950: #240449;
  --brand: #d2acfe;
  --brand-ink: #000000;
}

Colors that work with #d2acfe

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#F7F4FA
Tinted page background
Border#D5C0ED
Hairlines and dividers
Muted text#704B9B
Captions on the surface
Accent#A0CC00
Second voice, not a rival
Dark variant#3B027E
Hover, pressed, headers
Light variant#F1E6FF
Selected rows, tints
Dark surface#1B1424
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 #d2acfe

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#D8FEAC
Analogous left#ACAFFE
Analogous right#FBACFE
Split-complement 1#FEFBAC
Split-complement 2#AFFEAC
Triadic 1#FED2AC
Triadic 2#ACFED2
Tetradic#FEACAF

RGB percentages

Red82.4%
Green67.5%
Blue99.6%

CMYK percentages

Cyan17.3%
Magenta32.3%
Yellow0.0%
Key (black)0.4%

Color previews

#d2acfe text on a black background

contrast 11.07:1

Card sample

#d2acfe text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2acfe

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.

#d2acfe 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#d2acfe, answered

What color is #d2acfe?

#d2acfe is a light electric violet, closest to Plum (ΔE2000 8.4). It sits at 268° on the hue wheel with 98% saturation and 84% lightness, which reads as cool.

What is the RGB value of #d2acfe?

rgb(210, 172, 254) — 210 red, 172 green and 254 blue out of 255, or 82.4% / 67.5% / 99.6% by channel.

Is #d2acfe a light or a dark color?

It is a light color. Relative luminance is 0.5036 and perceived brightness is 76%, so black text on it reaches 11.07:1.

Should I use black or white text on #d2acfe?

Black. It scores 11.07:1 against #d2acfe, versus 1.90:1 for white — AAA at any size.

What is the complementary color of #d2acfe?

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

What colors go well with #d2acfe?

For interface work: #F7F4FA as the surface, #D5C0ED for borders, #704B9B for secondary text, #A0CC00 as an accent and #3B027E for hover and pressed states. For a palette, the analogous pair #ACAFFE and #FBACFE stays calm, while #D8FEAC is the loudest partner.

What is #d2acfe in CMYK for printing?

cmyk(17%, 32%, 0%, 0%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #d2acfe warm or cool?

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

Work with #d2acfe in the Color Lab