Skip to content

#db8fec

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

RGB
219, 143, 236
HSL
289°, 71%, 74%
CMYK
7, 39, 0, 8
Luminance
0.4076

At a glance

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

Hex
#db8fec
Hue
289°
violet
Saturation
71%
vivid
Lightness
74%
light
Brightness
93%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4076
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
9.15:1
Closest name
Violet
ΔE2000 4.2
Where it sits
Hue289° of 360°
Saturation71%
Lightness74%
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#db8fec
RGBrgb(219, 143, 236)
HSLhsl(289, 71%, 74%)
CMYKcmyk(7%, 39%, 0%, 8%)
LABlab(70.0 43.8 -35.4)
LCHlch(70.0 56.3 321.1)
OKLCHoklch(0.759 0.152 320.1)
Decimal14389228
Display P3color(display-p3 0.859 0.561 0.925)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db8fec on white: 2.29:1
AA ✗ fail · AA-large · AAA
Aa
#db8fec on black: 9.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #83A6EF
deuteranopia · #96AEE9
tritanopia · #DC9AB3

Color scale — 50 to 950

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

#FAF3FC
#F5E7F8
#EBC9F3
#db8fec
#D16FE7
#C13FDE
#B123D1
#941EAE
#76188C
#571565
#360D3F
Base = 300Lightest = 50 · #FAF3FCDarkest = 950 · #360D3F
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F5E7F8;
  --brand-200: #EBC9F3;
  --brand-300: #db8fec;
  --brand-400: #D16FE7;
  --brand-500: #C13FDE;
  --brand-600: #B123D1;
  --brand-700: #941EAE;
  --brand-800: #76188C;
  --brand-900: #571565;
  --brand-950: #360D3F;
  --brand: #db8fec;
  --brand-ink: #000000;
}

Colors that work with #db8fec

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#5CB319
Second voice, not a rival
Dark variant#5C126D
Hover, pressed, headers
Light variant#F8E9FB
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 #db8fec

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#A0EC8F
Analogous left#AC8FEC
Analogous right#EC8FCF
Split-complement 1#CFEC8F
Split-complement 2#8FECAC
Triadic 1#ECDB8F
Triadic 2#8FECDB
Tetradic#ECAC8F

RGB percentages

Red85.9%
Green56.1%
Blue92.5%

CMYK percentages

Cyan7.2%
Magenta39.4%
Yellow0.0%
Key (black)7.5%

Color previews

#db8fec text on a black background

contrast 9.15:1

Card sample

#db8fec text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db8fec

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.

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

#db8fec, answered

What color is #db8fec?

#db8fec is a light vivid violet, closest to Violet (ΔE2000 4.2). It sits at 289° on the hue wheel with 71% saturation and 74% lightness, which reads as neutral.

What is the RGB value of #db8fec?

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

Is #db8fec a light or a dark color?

It is a mid-tone. Relative luminance is 0.4076 and perceived brightness is 71%, so black text on it reaches 9.15:1.

Should I use black or white text on #db8fec?

Black. It scores 9.15:1 against #db8fec, versus 2.29:1 for white — AAA at any size.

What is the complementary color of #db8fec?

#A0EC8F sits directly opposite on the wheel. Softer options are the split-complements #CFEC8F and #8FECAC, which give the same contrast with far less vibration.

What colors go well with #db8fec?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8C4B9B for secondary text, #5CB319 as an accent and #5C126D for hover and pressed states. For a palette, the analogous pair #AC8FEC and #EC8FCF stays calm, while #A0EC8F is the loudest partner.

What is #db8fec in CMYK for printing?

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

Is #db8fec 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 #EC8FDB; nudged cooler, #B98EED.

Work with #db8fec in the Color Lab