Maroon Colors  ·  Color Library

Palettes / Colors / #D797FC

#D797FC — Light Vivid Purple

#D797FC is a purple color we call Light Vivid Purple, closest to the named color Plum (#DDA0DD). It belongs to the purple family.

Color name

Closest CSS keyword: plum (#DDA0DD) — not an exact match. CSS plum gives you #DDA0DD, a different color; use #D797FC when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#D797FC is a cool purple color associated with luxury, creativity and mystery. It is light enough to work as a background or base color, with darker text on top.

Its strongest partner is its complement #BCFC97; it also sits naturally between #A597FC and #FC97EE. In the palettes below you can see it working alongside real color combinations from our collection.

#D797FC · RGB 215, 151, 252

Download PNG swatch SVG

Color values

HEX#D797FC
RGB215, 151, 252
HSL278°, 94%, 79%
HSV278°, 40%, 99%
CMYK15%, 40%, 0%, 1%
XYZ56.66, 43.61, 97.53
Yxy43.61, 0.2865, 0.2205
CIE-Lab71.97, 41.65, -41.12
Hunter Lab66.04, 41.77, -46.66

RGB & CMYK percentages

Red 84% · Green 59% · Blue 99%

Cyan 15% · Magenta 40% · Yellow 0% · Key 1%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #D797FC on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #D797FC on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #D797FC

.text { color: #D797FC; }
.background { background-color: #D797FC; }
.border { border: 3px solid #D797FC; }
.text-rgb { color: rgb(215, 151, 252); }
.text-hsl { color: hsl(278, 94%, 79%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #D797FC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(215, 151, 252, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #D797FC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(215, 151, 252, 0.8); }

HTML: <p style="color:#D797FC">Text here</p> · <div style="background-color:#D797FC">Div content here</div>

Shades of #D797FC

#C974FB#BA4DF9#AD2AF8#9C07F2#8606D0#6C05A8#560486#3D035E#26023B#0D0114

Tints of #D797FC

#DBA1FC#DDA6FC#E0B0FD#E4BAFD#E8C4FD#EAC9FD#EED2FE#F2DCFE#F4E1FE#F7EBFE

Tones of #D797FC

#D59EF5#D3A6ED#D1ADE6#CFB4DF#CDBBD8#CBC2D0

Color harmonies

Complementary — #BCFC97:

Analogous:

Triadic:

Contrast & accessibility

Against white text2.16:1 Fails
Against black text9.72:1 AAA

Best text color on #D797FC: #000000.

Semi-transparent (opacity) text on #D797FC

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #D797FC: ·

How #D797FC looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #BBBBE4Deuteranopia · #BFC4DETritanopia · #D4D0CC

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind purple 500 · #A855F7Tailwind fuchsia 500 · #D946EFTailwind violet 500 · #8B5CF6

Palettes with a similar color

These palettes use a close neighbour of #D797FC rather than the exact color:

Palette Fff4bf
#FFF4BF · #FFBEFB · #DC95FF · #8C56D4
Palette Eeeeee
#EEEEEE · #CDE8F6 · #D195F9 · #0033C7
Palette 8ef6e4
#8EF6E4 · #9896F1 · #D59BF6 · #EDB1F1
Palette Bedcfa
#BEDCFA · #98ACF8 · #B088F9 · #DA9FF9
Palette 850f8d
#850F8D · #C738BD · #E49BFF · #F8F9D7
Palette F1eaff
#F1EAFF · #E5D4FF · #DCBFFF · #D0A2F7

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#DC95FF#D195F9#D59BF6#DA9FF9#E49BFF#D0A2F7#D4A0F1#D78FEE#CB9DF0#E99DF6#DAA5EE#EB92FB

Browse neighbouring colors

← #D797FB  ·  #D797FD →

Frequently asked questions

What color is #D797FC?

#D797FC is Light Vivid Purple, a purple color (RGB 215, 151, 252). Its closest standard named color is Plum.

What is the RGB and HSL of #D797FC?

#D797FC is RGB 215, 151, 252 — HSL 278°, 94%, 79% — CMYK 15%, 40%, 0%, 1%.

What colors go with #D797FC?

Its complement is #BCFC97; analogous partners are #A597FC and #FC97EE. It also appears in 6+ palettes in our collection.

Can I use #D797FC for text?

Black text on #D797FC has a contrast ratio of 9.72:1 (passes WCAG AA); white text gives 2.16:1.