Skip to content

#db52fd

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

RGB
219, 82, 253
HSL
288°, 98%, 66%
CMYK
13, 68, 0, 1
Luminance
0.2819

At a glance

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

Hex
#db52fd
Hue
288°
violet
Saturation
98%
electric
Lightness
66%
light
Brightness
99%
HSV value
Perceived
63%
weighted brightness
Luminance
0.2819
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
6.64:1
Closest name
Magenta
ΔE2000 5.5
Where it sits
Hue288° of 360°
Saturation98%
Lightness66%
Temperature
Warm ← → Cool57% 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#db52fd
RGBrgb(219, 82, 253)
HSLhsl(288, 98%, 66%)
CMYKcmyk(13%, 68%, 0%, 1%)
LABlab(60.1 75.7 -60.5)
LCHlch(60.1 96.9 321.4)
OKLCHoklch(0.689 0.258 318.9)
Decimal14373629
Display P3color(display-p3 0.859 0.322 0.992)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db52fd on white: 3.16:1
AA ✗ fail · AA-large · AAA
Aa
#db52fd on black: 6.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0088FF
deuteranopia · #5D95F9
tritanopia · #DB72A2

Color scale — 50 to 950

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

#FBF1FD
#F7E4FC
#EFC1FB
#E890FE
#db52fd
#D121FC
#C303F2
#A202CA
#8202A1
#5E0674
#3B0449
Base = 400Lightest = 50 · #FBF1FDDarkest = 950 · #3B0449
:root {
  --brand-50: #FBF1FD;
  --brand-100: #F7E4FC;
  --brand-200: #EFC1FB;
  --brand-300: #E890FE;
  --brand-400: #db52fd;
  --brand-500: #D121FC;
  --brand-600: #C303F2;
  --brand-700: #A202CA;
  --brand-800: #8202A1;
  --brand-900: #5E0674;
  --brand-950: #3B0449;
  --brand: #db52fd;
  --brand-ink: #000000;
}

Colors that work with #db52fd

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#8B4B9B
Captions on the surface
Accent#5BCC00
Second voice, not a rival
Dark variant#65017E
Hover, pressed, headers
Light variant#FAE6FF
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 #db52fd

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • 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
  • Small text on white — under 4.5:1
  • 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#74FD52
Analogous left#8652FD
Analogous right#FD52C9
Split-complement 1#C9FD52
Split-complement 2#52FD86
Triadic 1#FDDB52
Triadic 2#52FDDB
Tetradic#FD8652

RGB percentages

Red85.9%
Green32.2%
Blue99.2%

CMYK percentages

Cyan13.4%
Magenta67.6%
Yellow0.0%
Key (black)0.8%

Color previews

#db52fd text on a black background

contrast 6.64:1

Card sample

#db52fd text on a white background

contrast 3.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db52fd

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.

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

#db52fd, answered

What color is #db52fd?

#db52fd is a light electric violet, closest to Magenta (ΔE2000 5.5). It sits at 288° on the hue wheel with 98% saturation and 66% lightness, which reads as neutral.

What is the RGB value of #db52fd?

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

Is #db52fd a light or a dark color?

It is a mid-tone. Relative luminance is 0.2819 and perceived brightness is 63%, so black text on it reaches 6.64:1.

Should I use black or white text on #db52fd?

Black. It scores 6.64:1 against #db52fd, versus 3.16:1 for white — AA at any size.

What is the complementary color of #db52fd?

#74FD52 sits directly opposite on the wheel. Softer options are the split-complements #C9FD52 and #52FD86, which give the same contrast with far less vibration.

What colors go well with #db52fd?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8B4B9B for secondary text, #5BCC00 as an accent and #65017E for hover and pressed states. For a palette, the analogous pair #8652FD and #FD52C9 stays calm, while #74FD52 is the loudest partner.

What is #db52fd in CMYK for printing?

cmyk(13%, 68%, 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 #db52fd warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FD52E0; nudged cooler, #9C50FF.

Work with #db52fd in the Color Lab