Skip to content

#db8bfd

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

RGB
219, 139, 253
HSL
282°, 97%, 77%
CMYK
13, 45, 0, 1
Luminance
0.4062

At a glance

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

Hex
#db8bfd
Hue
282°
violet
Saturation
97%
electric
Lightness
77%
light
Brightness
99%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4062
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
9.12:1
Closest name
Violet
ΔE2000 5.2
Where it sits
Hue282° of 360°
Saturation97%
Lightness77%
Temperature
Warm ← → Cool60% 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#db8bfd
RGBrgb(219, 139, 253)
HSLhsl(282, 97%, 77%)
CMYKcmyk(13%, 45%, 0%, 1%)
LABlab(69.9 49.3 -44.9)
LCHlch(69.9 66.7 317.7)
OKLCHoklch(0.761 0.176 315.1)
Decimal14388221
Display P3color(display-p3 0.859 0.545 0.992)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db8bfd on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#db8bfd on black: 9.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #75A6FF
deuteranopia · #8BADFA
tritanopia · #D99BB8

Color scale — 50 to 950

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

#FAF1FD
#F5E4FC
#E9C1FB
#db8bfd
#CC5AFC
#BB22FB
#AA04F1
#8E03C9
#7103A0
#530774
#340448
Base = 300Lightest = 50 · #FAF1FDDarkest = 950 · #340448
:root {
  --brand-50: #FAF1FD;
  --brand-100: #F5E4FC;
  --brand-200: #E9C1FB;
  --brand-300: #db8bfd;
  --brand-400: #CC5AFC;
  --brand-500: #BB22FB;
  --brand-600: #AA04F1;
  --brand-700: #8E03C9;
  --brand-800: #7103A0;
  --brand-900: #530774;
  --brand-950: #340448;
  --brand: #db8bfd;
  --brand-ink: #000000;
}

Colors that work with #db8bfd

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#DFC0ED
Hairlines and dividers
Muted text#834B9B
Captions on the surface
Accent#71CC00
Second voice, not a rival
Dark variant#59027D
Hover, pressed, headers
Light variant#F7E6FF
Selected rows, tints
Dark surface#1F1424
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 #db8bfd

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#ADFD8B
Analogous left#A28BFD
Analogous right#FD8BE6
Split-complement 1#E6FD8B
Split-complement 2#8BFDA2
Triadic 1#FDDB8B
Triadic 2#8BFDDB
Tetradic#FDA28B

RGB percentages

Red85.9%
Green54.5%
Blue99.2%

CMYK percentages

Cyan13.4%
Magenta45.1%
Yellow0.0%
Key (black)0.8%

Color previews

#db8bfd text on a black background

contrast 9.12:1

Card sample

#db8bfd text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db8bfd

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.

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

#db8bfd, answered

What color is #db8bfd?

#db8bfd is a light electric violet, closest to Violet (ΔE2000 5.2). It sits at 282° on the hue wheel with 97% saturation and 77% lightness, which reads as cool.

What is the RGB value of #db8bfd?

rgb(219, 139, 253) — 219 red, 139 green and 253 blue out of 255, or 85.9% / 54.5% / 99.2% by channel.

Is #db8bfd a light or a dark color?

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

Should I use black or white text on #db8bfd?

Black. It scores 9.12:1 against #db8bfd, versus 2.30:1 for white — AAA at any size.

What is the complementary color of #db8bfd?

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

What colors go well with #db8bfd?

For interface work: #F9F4FA as the surface, #DFC0ED for borders, #834B9B for secondary text, #71CC00 as an accent and #59027D for hover and pressed states. For a palette, the analogous pair #A28BFD and #FD8BE6 stays calm, while #ADFD8B is the loudest partner.

What is #db8bfd in CMYK for printing?

cmyk(13%, 45%, 0%, 1%). 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 #db8bfd warm or cool?

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

Work with #db8bfd in the Color Lab