Skip to content

#db7dec

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

RGB
219, 125, 236
HSL
291°, 75%, 71%
CMYK
7, 47, 0, 8
Luminance
0.3578

At a glance

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

Hex
#db7dec
Hue
291°
magenta / pink
Saturation
75%
vivid
Lightness
71%
light
Brightness
93%
HSV value
Perceived
68%
weighted brightness
Luminance
0.3578
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
8.16:1
Closest name
Violet
ΔE2000 3.6
Where it sits
Hue291° of 360°
Saturation75%
Lightness71%
Temperature
Warm ← → Cool55% 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#db7dec
RGBrgb(219, 125, 236)
HSLhsl(291, 75%, 71%)
CMYKcmyk(7%, 47%, 0%, 8%)
LABlab(66.4 53.1 -41.1)
LCHlch(66.4 67.2 322.3)
OKLCHoklch(0.732 0.181 321.3)
Decimal14384620
Display P3color(display-p3 0.859 0.490 0.925)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db7dec on white: 2.57:1
AA ✗ fail · AA-large · AAA
Aa
#db7dec on black: 8.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6D9BF0
deuteranopia · #88A5E9
tritanopia · #DD8BAA

Color scale — 50 to 950

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

#FAF3FC
#F6E7F9
#EDC8F4
#E49DF1
#db7dec
#C93BE2
#BA1FD6
#9B1AB2
#7C158E
#5A1367
#380C40
Base = 400Lightest = 50 · #FAF3FCDarkest = 950 · #380C40
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F6E7F9;
  --brand-200: #EDC8F4;
  --brand-300: #E49DF1;
  --brand-400: #db7dec;
  --brand-500: #C93BE2;
  --brand-600: #BA1FD6;
  --brand-700: #9B1AB2;
  --brand-800: #7C158E;
  --brand-900: #5A1367;
  --brand-950: #380C40;
  --brand: #db7dec;
  --brand-ink: #000000;
}

Colors that work with #db7dec

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#E6C0ED
Hairlines and dividers
Muted text#8F4B9B
Captions on the surface
Accent#56B616
Second voice, not a rival
Dark variant#61106F
Hover, pressed, headers
Light variant#F9E9FC
Selected rows, tints
Dark surface#221424
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 #db7dec

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#8EEC7D
Analogous left#A47DEC
Analogous right#EC7DC6
Split-complement 1#C6EC7D
Split-complement 2#7DECA4
Triadic 1#ECDB7D
Triadic 2#7DECDB
Tetradic#ECA47D

RGB percentages

Red85.9%
Green49.0%
Blue92.5%

CMYK percentages

Cyan7.2%
Magenta47.0%
Yellow0.0%
Key (black)7.5%

Color previews

#db7dec text on a black background

contrast 8.16:1

Card sample

#db7dec text on a white background

contrast 2.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db7dec

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.

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

#db7dec, answered

What color is #db7dec?

#db7dec is a light vivid magenta / pink, closest to Violet (ΔE2000 3.6). It sits at 291° on the hue wheel with 75% saturation and 71% lightness, which reads as neutral.

What is the RGB value of #db7dec?

rgb(219, 125, 236) — 219 red, 125 green and 236 blue out of 255, or 85.9% / 49% / 92.5% by channel.

Is #db7dec a light or a dark color?

It is a mid-tone. Relative luminance is 0.3578 and perceived brightness is 68%, so black text on it reaches 8.16:1.

Should I use black or white text on #db7dec?

Black. It scores 8.16:1 against #db7dec, versus 2.57:1 for white — AAA at any size.

What is the complementary color of #db7dec?

#8EEC7D sits directly opposite on the wheel. Softer options are the split-complements #C6EC7D and #7DECA4, which give the same contrast with far less vibration.

What colors go well with #db7dec?

For interface work: #F9F4FA as the surface, #E6C0ED for borders, #8F4B9B for secondary text, #56B616 as an accent and #61106F for hover and pressed states. For a palette, the analogous pair #A47DEC and #EC7DC6 stays calm, while #8EEC7D is the loudest partner.

What is #db7dec in CMYK for printing?

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

Is #db7dec warm or cool?

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

Work with #db7dec in the Color Lab