Skip to content

#db7cff

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

RGB
219, 124, 255
HSL
284°, 100%, 74%
CMYK
14, 51, 0, 0
Luminance
0.3670

At a glance

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

Hex
#db7cff
Hue
284°
violet
Saturation
100%
electric
Lightness
74%
light
Brightness
100%
HSV value
Perceived
69%
weighted brightness
Luminance
0.3670
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
8.34:1
Closest name
Violet
ΔE2000 5.6
Where it sits
Hue284° of 360°
Saturation100%
Lightness74%
Temperature
Warm ← → Cool59% 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#db7cff
RGBrgb(219, 124, 255)
HSLhsl(284, 100%, 74%)
CMYKcmyk(14%, 51%, 0%, 0%)
LABlab(67.0 57.3 -50.4)
LCHlch(67.0 76.4 318.7)
OKLCHoklch(0.740 0.202 316.0)
Decimal14384383
Display P3color(display-p3 0.859 0.486 1.000)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db7cff on white: 2.52:1
AA ✗ fail · AA-large · AAA
Aa
#db7cff on black: 8.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5F9DFF
deuteranopia · #7DA6FC
tritanopia · #D990B2

Color scale — 50 to 950

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

#FAF1FE
#F5E3FC
#EBC0FC
#db7cff
#D157FF
#C11FFF
#B100F5
#9400CC
#7600A3
#570576
#360349
Base = 300Lightest = 50 · #FAF1FEDarkest = 950 · #360349
:root {
  --brand-50: #FAF1FE;
  --brand-100: #F5E3FC;
  --brand-200: #EBC0FC;
  --brand-300: #db7cff;
  --brand-400: #D157FF;
  --brand-500: #C11FFF;
  --brand-600: #B100F5;
  --brand-700: #9400CC;
  --brand-800: #7600A3;
  --brand-900: #570576;
  --brand-950: #360349;
  --brand: #db7cff;
  --brand-ink: #000000;
}

Colors that work with #db7cff

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#E0C0ED
Hairlines and dividers
Muted text#854B9B
Captions on the surface
Accent#6BCC00
Second voice, not a rival
Dark variant#5C0080
Hover, pressed, headers
Light variant#F8E5FF
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 #db7cff

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#A0FF7C
Analogous left#997CFF
Analogous right#FF7CE2
Split-complement 1#E2FF7C
Split-complement 2#7CFF99
Triadic 1#FFDB7C
Triadic 2#7CFFDB
Tetradic#FF997C

RGB percentages

Red85.9%
Green48.6%
Blue100.0%

CMYK percentages

Cyan14.1%
Magenta51.4%
Yellow0.0%
Key (black)0.0%

Color previews

#db7cff text on a black background

contrast 8.34:1

Card sample

#db7cff text on a white background

contrast 2.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db7cff

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.

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

#db7cff, answered

What color is #db7cff?

#db7cff is a light electric violet, closest to Violet (ΔE2000 5.6). It sits at 284° on the hue wheel with 100% saturation and 74% lightness, which reads as cool.

What is the RGB value of #db7cff?

rgb(219, 124, 255) — 219 red, 124 green and 255 blue out of 255, or 85.9% / 48.6% / 100% by channel.

Is #db7cff a light or a dark color?

It is a mid-tone. Relative luminance is 0.3670 and perceived brightness is 69%, so black text on it reaches 8.34:1.

Should I use black or white text on #db7cff?

Black. It scores 8.34:1 against #db7cff, versus 2.52:1 for white — AAA at any size.

What is the complementary color of #db7cff?

#A0FF7C sits directly opposite on the wheel. Softer options are the split-complements #E2FF7C and #7CFF99, which give the same contrast with far less vibration.

What colors go well with #db7cff?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #854B9B for secondary text, #6BCC00 as an accent and #5C0080 for hover and pressed states. For a palette, the analogous pair #997CFF and #FF7CE2 stays calm, while #A0FF7C is the loudest partner.

What is #db7cff in CMYK for printing?

cmyk(14%, 51%, 0%, 0%). 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 #db7cff warm or cool?

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

Work with #db7cff in the Color Lab