Skip to content
Kolorvia
#cd40e7

Color #cd40e7

A vivid, highly saturated medium magenta.

Conversions

HEX
#cd40e7
RGB
rgb(205, 64, 231)
HSL
hsl(290.7, 77.7%, 57.8%)
HSV / HSB
hsv(290.7, 72.3%, 90.6%)
CMYK
cmyk(11.3%, 72.3%, 0%, 9.4%)
LAB
lab(54.47, 75.38, -57.25)
LCH
lch(54.47, 94.66, 322.78)
OKLCH
oklch(64.1%, 0.2541, 320.89)
HWB
hwb(290.7, 25.1%, 9.4%)

Harmony colors

Complementary

#5ae740

Analogous

#7940e7
#cd40e7
#e740ad

Triadic

#cd40e7
#e7cd40
#40e7cd

Split-complementary

#cd40e7
#ade740
#40e779

Tetradic

#cd40e7
#e7405a
#5ae740
#40e7cd

Square

#cd40e7
#e77940
#5ae740
#40ade7

Shades

Color #cd40e7 mixed toward black.

#bd1bda
#9716af
#711083
#4b0b57
#26052c

Tints

Color #cd40e7 mixed toward white.

#d560eb
#de80ef
#e69ff3
#eebff7
#f7dffb

Tones

Color #cd40e7 mixed toward gray.

#c34ed9
#ba5ccb
#b06abd
#a778af
#9d85a1

Accessibility

Aa White text on this color
3.83:1
Aa Black text on this color
5.48:1

Black text reads better on this background (5.48:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#a3a2ce · ΔE 25.3

Deuteranopia

#aab2c8 · ΔE 29

Tritanopia

#c9b7b2 · ΔE 35.9

Achromatopsia

#828282 · ΔE 30.3

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #cd40e7;
Tailwind (arbitrary value)
bg-[#cd40e7]

Related colors

Medium Orchid #ba55d3
Dark Violet #9400d3
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080

Frequently asked questions

#cd40e7 (#cd40e7) is rgb(205, 64, 231) in RGB.

No, #cd40e7 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #cd40e7, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.