Skip to content

#db8ce2

a light, vivid magenta / pink · neutral · closest name: Violet

RGB
219, 140, 226
HSL
295°, 60%, 72%
CMYK
3, 38, 0, 11
Luminance
0.3931

At a glance

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

Hex
#db8ce2
Hue
295°
magenta / pink
Saturation
60%
vivid
Lightness
72%
light
Brightness
89%
HSV value
Perceived
70%
weighted brightness
Luminance
0.3931
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
8.86:1
Closest name
Violet
ΔE2000 3.9
Where it sits
Hue295° of 360°
Saturation60%
Lightness72%
Temperature
Warm ← → Cool53% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#db8ce2
RGBrgb(219, 140, 226)
HSLhsl(295, 60%, 72%)
CMYKcmyk(3%, 38%, 0%, 11%)
LABlab(69.0 43.5 -31.5)
LCHlch(69.0 53.7 324.1)
OKLCHoklch(0.750 0.146 324.0)
Decimal14388450
Display P3color(display-p3 0.859 0.549 0.886)

Copy-ready code

/* CSS */
color: #db8ce2;
background-color: #db8ce2;
/* Tailwind (arbitrary) */
class="text-[#db8ce2] bg-[#db8ce2]"
/* SCSS */
$brand: #db8ce2;
/* SwiftUI */
Color(red: 0.859, green: 0.549, blue: 0.886)
/* Android */
Color.parseColor("#db8ce2")
/* Flutter */
Color(0xFFDB8CE2)
/* Python / OpenCV (BGR) */
(226, 140, 219)

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

Accessibility — WCAG contrast

Aa
#db8ce2 on white: 2.37:1
AA ✗ fail · AA-large · AAA
Aa
#db8ce2 on black: 8.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #83A2E5
deuteranopia · #98ACDF
tritanopia · #DE95AD

Color scale — 50 to 950

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

#FAF4FB
#F6E9F7
#ECCCEF
#E3A5E8
#db8ce2
#C74CD2
#B831C3
#9929A3
#7A2182
#591C5F
#38113B
Base = 400Lightest = 50 · #FAF4FBDarkest = 950 · #38113B
:root {
  --brand-50: #FAF4FB;
  --brand-100: #F6E9F7;
  --brand-200: #ECCCEF;
  --brand-300: #E3A5E8;
  --brand-400: #db8ce2;
  --brand-500: #C74CD2;
  --brand-600: #B831C3;
  --brand-700: #9929A3;
  --brand-800: #7A2182;
  --brand-900: #591C5F;
  --brand-950: #38113B;
  --brand: #db8ce2;
  --brand-ink: #000000;
}

Colors that work with #db8ce2

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#FAF4FA
Tinted page background
Border#E9C0ED
Hairlines and dividers
Muted text#944B9B
Captions on the surface
Accent#51A725
Second voice, not a rival
Dark variant#601A66
Hover, pressed, headers
Light variant#F9EBFA
Selected rows, tints
Dark surface#231424
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 #db8ce2

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#93E28C
Analogous left#B08CE2
Analogous right#E28CBE
Split-complement 1#BEE28C
Split-complement 2#8CE2B0
Triadic 1#E2DB8C
Triadic 2#8CE2DB
Tetradic#E2B08C

RGB percentages

Red85.9%
Green54.9%
Blue88.6%

CMYK percentages

Cyan3.1%
Magenta38.1%
Yellow0.0%
Key (black)11.4%

Color previews

#db8ce2 text on a black background

contrast 8.86:1

Card sample

#db8ce2 text on a white background

contrast 2.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(219, 140, 226, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 140, 226, 0.45);
Border & gradient
Gradient panel
border: 3px solid #db8ce2;
background: linear-gradient(135deg, #db8ce2, #E28CB0);

Monochromatic scale

Palettes built from #db8ce2

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.

#db8ce2 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#db8ce2, answered

What color is #db8ce2?

#db8ce2 is a light vivid magenta / pink, closest to Violet (ΔE2000 3.9). It sits at 295° on the hue wheel with 60% saturation and 72% lightness, which reads as neutral.

What is the RGB value of #db8ce2?

rgb(219, 140, 226) — 219 red, 140 green and 226 blue out of 255, or 85.9% / 54.9% / 88.6% by channel.

Is #db8ce2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3931 and perceived brightness is 70%, so black text on it reaches 8.86:1.

Should I use black or white text on #db8ce2?

Black. It scores 8.86:1 against #db8ce2, versus 2.37:1 for white — AAA at any size.

What is the complementary color of #db8ce2?

#93E28C sits directly opposite on the wheel. Softer options are the split-complements #BEE28C and #8CE2B0, which give the same contrast with far less vibration.

What colors go well with #db8ce2?

For interface work: #FAF4FA as the surface, #E9C0ED for borders, #944B9B for secondary text, #51A725 as an accent and #601A66 for hover and pressed states. For a palette, the analogous pair #B08CE2 and #E28CBE stays calm, while #93E28C is the loudest partner.

What is #db8ce2 in CMYK for printing?

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

Is #db8ce2 warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E28CCA; nudged cooler, #BC8BE3.

Work with #db8ce2 in the Color Lab