Maroon Colors  ·  Color Library

Palettes / Colors / #D040EF

#D040EF — Vivid Purple

#D040EF is a purple color we call Vivid Purple, closest to the named color Orchid (#DA70D6). It belongs to the purple family.

Color name

Closest CSS keyword: orchid (#DA70D6) — not an exact match. CSS orchid gives you #DA70D6, a different color; use #D040EF 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.

#D040EF is a cool purple color associated with luxury, creativity and mystery. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #5EEF3E; it also sits naturally between #763EEF and #EF3EB7. In the palettes below you can see it working alongside real color combinations from our collection.

#D040EF · RGB 208, 64, 239

Download PNG swatch SVG

Color values

HEX#D040EF
RGB208, 64, 239
HSL289°, 85%, 59%
HSV289°, 73%, 94%
CMYK13%, 73%, 0%, 6%
XYZ43.43, 23.31, 83.87
Yxy23.31, 0.2883, 0.1548
CIE-Lab55.39, 77.39, -60.25
Hunter Lab48.28, 79.90, -74.59

RGB & CMYK percentages

Red 82% · Green 25% · Blue 94%

Cyan 13% · Magenta 73% · Yellow 0% · Key 6%

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

Previews

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

CSS code for #D040EF

.text { color: #D040EF; }
.background { background-color: #D040EF; }
.border { border: 3px solid #D040EF; }
.text-rgb { color: rgb(208, 64, 239); }
.text-hsl { color: hsl(289, 85%, 59%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #D040EF; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(208, 64, 239, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #D040EF; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(208, 64, 239, 0.8); }

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

Shades of #D040EF

#C926ED#BC12E2#A910CB#910EAF#7E0C97#660A7B#520863#3B0647#27042F#100213

Tints of #D040EF

#D350F1#D75FF2#DC71F4#E084F5#E597F7#E9A5F8#EDB8F9#F2CBFB#F6D9FC#FAECFD

Tones of #D040EF

#C74AE3#BF57D6#B763CA#AE71BC#A67DB0#9E8AA3

Color harmonies

Complementary — #5EEF3E:

Analogous:

Triadic:

Contrast & accessibility

Against white text3.71:1 AA large only
Against black text5.66:1 AA

Best text color on #D040EF: #000000.

Semi-transparent (opacity) text on #D040EF

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 #D040EF: ·

How #D040EF looks with color blindness

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

Protanopia · #9290C5Deuteranopia · #9AA5BATritanopia · #C9A39C

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 fuchsia 500 · #D946EFTailwind fuchsia 600 · #C026D3Tailwind purple 500 · #A855F7

Palettes with a similar color

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

Amber Tempest
#499AE1 · #2835E2 · #7D3DDF · #D241EA
Dreamy Dusk
#3AC911 · #8DF15B · #C73CEE · #D4A0F1
Mellow Aurora
#17A296 · #D644E4 · #D8C81F · #A7E9DE
Dusty Horizon
#3595DD · #1D2FE0 · #A573F2 · #D835F0
Cosmic Ruby Lagoon
#38180C · #C93DFB · #ABF723 · #FB2AC9
Burning Ruby Canyon
#36AE0F · #51EE3F · #C94EEF · #E2B9F4

Similar colors

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

#D241EA#C73CEE#D644E4#D835F0#C93DFB#C94EEF#C942FD#C735E8#D731ED#C147E9#CC4AE0#D04BDF

Browse neighbouring colors

← #D040EE  ·  #D040F0 →

Frequently asked questions

What color is #D040EF?

#D040EF is Vivid Purple, a purple color (RGB 208, 64, 239). Its closest standard named color is Orchid.

What is the RGB and HSL of #D040EF?

#D040EF is RGB 208, 64, 239 — HSL 289°, 85%, 59% — CMYK 13%, 73%, 0%, 6%.

What colors go with #D040EF?

Its complement is #5EEF3E; analogous partners are #763EEF and #EF3EB7. It also appears in 6+ palettes in our collection.

Can I use #D040EF for text?

Black text on #D040EF has a contrast ratio of 5.66:1 (passes WCAG AA); white text gives 3.71:1.