Skip to content

#db7df1

a light, electric violet · neutral · closest name: Violet

RGB
219, 125, 241
HSL
289°, 81%, 72%
CMYK
9, 48, 0, 6
Luminance
0.3608

At a glance

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

Hex
#db7df1
Hue
289°
violet
Saturation
81%
electric
Lightness
72%
light
Brightness
95%
HSV value
Perceived
68%
weighted brightness
Luminance
0.3608
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
8.22:1
Closest name
Violet
ΔE2000 4
Where it sits
Hue289° of 360°
Saturation81%
Lightness72%
Temperature
Warm ← → Cool56% 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#db7df1
RGBrgb(219, 125, 241)
HSLhsl(289, 81%, 72%)
CMYKcmyk(9%, 48%, 0%, 6%)
LABlab(66.6 54.1 -43.5)
LCHlch(66.6 69.4 321.2)
OKLCHoklch(0.734 0.186 319.8)
Decimal14384625
Display P3color(display-p3 0.859 0.490 0.945)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db7df1 on white: 2.56:1
AA ✗ fail · AA-large · AAA
Aa
#db7df1 on black: 8.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6A9BF5
deuteranopia · #85A5EE
tritanopia · #DC8DAC

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #db7df1 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
#F6E6F9
#ECC6F5
#E39AF4
#db7df1
#C734E9
#B818DD
#9914B8
#7A1093
#59106B
#380A43
Base = 400Lightest = 50 · #FAF3FCDarkest = 950 · #380A43
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F6E6F9;
  --brand-200: #ECC6F5;
  --brand-300: #E39AF4;
  --brand-400: #db7df1;
  --brand-500: #C734E9;
  --brand-600: #B818DD;
  --brand-700: #9914B8;
  --brand-800: #7A1093;
  --brand-900: #59106B;
  --brand-950: #380A43;
  --brand: #db7df1;
  --brand-ink: #000000;
}

Colors that work with #db7df1

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#E4C0ED
Hairlines and dividers
Muted text#8C4B9B
Captions on the surface
Accent#5CBC10
Second voice, not a rival
Dark variant#600C73
Hover, pressed, headers
Light variant#F9E8FD
Selected rows, tints
Dark surface#211424
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 #db7df1

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#93F17D
Analogous left#A17DF1
Analogous right#F17DCD
Split-complement 1#CDF17D
Split-complement 2#7DF1A1
Triadic 1#F1DB7D
Triadic 2#7DF1DB
Tetradic#F1A17D

RGB percentages

Red85.9%
Green49.0%
Blue94.5%

CMYK percentages

Cyan9.1%
Magenta48.1%
Yellow0.0%
Key (black)5.5%

Color previews

#db7df1 text on a black background

contrast 8.22:1

Card sample

#db7df1 text on a white background

contrast 2.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db7df1

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.

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

#db7df1, answered

What color is #db7df1?

#db7df1 is a light electric violet, closest to Violet (ΔE2000 4). It sits at 289° on the hue wheel with 81% saturation and 72% lightness, which reads as neutral.

What is the RGB value of #db7df1?

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

Is #db7df1 a light or a dark color?

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

Should I use black or white text on #db7df1?

Black. It scores 8.22:1 against #db7df1, versus 2.56:1 for white — AAA at any size.

What is the complementary color of #db7df1?

#93F17D sits directly opposite on the wheel. Softer options are the split-complements #CDF17D and #7DF1A1, which give the same contrast with far less vibration.

What colors go well with #db7df1?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8C4B9B for secondary text, #5CBC10 as an accent and #600C73 for hover and pressed states. For a palette, the analogous pair #A17DF1 and #F17DCD stays calm, while #93F17D is the loudest partner.

What is #db7df1 in CMYK for printing?

cmyk(9%, 48%, 0%, 6%). 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 #db7df1 warm or cool?

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

Work with #db7df1 in the Color Lab