Skip to content

#db9fef

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

RGB
219, 159, 239
HSL
285°, 71%, 78%
CMYK
8, 34, 0, 6
Luminance
0.4609

At a glance

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

Hex
#db9fef
Hue
285°
violet
Saturation
71%
vivid
Lightness
78%
light
Brightness
94%
HSV value
Perceived
74%
weighted brightness
Luminance
0.4609
WCAG relative
Temperature
Cool
58/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
10.22:1
Closest name
Plum
ΔE2000 4.3
Where it sits
Hue285° of 360°
Saturation71%
Lightness78%
Temperature
Warm ← → Cool58% 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#db9fef
RGBrgb(219, 159, 239)
HSLhsl(285, 71%, 78%)
CMYKcmyk(8%, 34%, 0%, 6%)
LABlab(73.6 35.9 -31.5)
LCHlch(73.6 47.7 318.8)
OKLCHoklch(0.787 0.127 317.5)
Decimal14393327
Display P3color(display-p3 0.859 0.624 0.937)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db9fef on white: 2.06:1
AA ✗ fail · AA-large · AAA
Aa
#db9fef on black: 10.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #94B1F2
deuteranopia · #A2B7EC
tritanopia · #DBA9BC

Color scale — 50 to 950

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

#F9F3FC
#F4E7F8
#E8C9F3
#db9fef
#C96FE7
#B73FDF
#A623D2
#8A1DAF
#6F178C
#511565
#330D3F
Base = 300Lightest = 50 · #F9F3FCDarkest = 950 · #330D3F
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F4E7F8;
  --brand-200: #E8C9F3;
  --brand-300: #db9fef;
  --brand-400: #C96FE7;
  --brand-500: #B73FDF;
  --brand-600: #A623D2;
  --brand-700: #8A1DAF;
  --brand-800: #6F178C;
  --brand-900: #511565;
  --brand-950: #330D3F;
  --brand: #db9fef;
  --brand-ink: #000000;
}

Colors that work with #db9fef

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#E1C0ED
Hairlines and dividers
Muted text#874B9B
Captions on the surface
Accent#66B319
Second voice, not a rival
Dark variant#57126D
Hover, pressed, headers
Light variant#F7E9FB
Selected rows, tints
Dark surface#201424
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 #db9fef

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#B3EF9F
Analogous left#B39FEF
Analogous right#EF9FDB
Split-complement 1#DBEF9F
Split-complement 2#9FEFB3
Triadic 1#EFDB9F
Triadic 2#9FEFDB
Tetradic#EFB39F

RGB percentages

Red85.9%
Green62.4%
Blue93.7%

CMYK percentages

Cyan8.4%
Magenta33.5%
Yellow0.0%
Key (black)6.3%

Color previews

#db9fef text on a black background

contrast 10.22:1

Card sample

#db9fef text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db9fef

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.

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

#db9fef, answered

What color is #db9fef?

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

What is the RGB value of #db9fef?

rgb(219, 159, 239) — 219 red, 159 green and 239 blue out of 255, or 85.9% / 62.4% / 93.7% by channel.

Is #db9fef a light or a dark color?

It is a mid-tone. Relative luminance is 0.4609 and perceived brightness is 74%, so black text on it reaches 10.22:1.

Should I use black or white text on #db9fef?

Black. It scores 10.22:1 against #db9fef, versus 2.06:1 for white — AAA at any size.

What is the complementary color of #db9fef?

#B3EF9F sits directly opposite on the wheel. Softer options are the split-complements #DBEF9F and #9FEFB3, which give the same contrast with far less vibration.

What colors go well with #db9fef?

For interface work: #F9F4FA as the surface, #E1C0ED for borders, #874B9B for secondary text, #66B319 as an accent and #57126D for hover and pressed states. For a palette, the analogous pair #B39FEF and #EF9FDB stays calm, while #B3EF9F is the loudest partner.

What is #db9fef in CMYK for printing?

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

Is #db9fef warm or cool?

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

Work with #db9fef in the Color Lab