Skip to content
Kolorvia
#d798d7

Color #d798d7

A moderately saturated light magenta.

Conversions

HEX
#d798d7
RGB
rgb(215, 152, 215)
HSL
hsl(300, 44.1%, 72%)
HSV / HSB
hsv(300, 29.3%, 84.3%)
CMYK
cmyk(0%, 29.3%, 0%, 15.7%)
LAB
lab(70.74, 33.79, -22.76)
LCH
lch(70.74, 40.74, 326.04)
OKLCH
oklch(76.1%, 0.1119, 326.59)
HWB
hwb(300, 59.6%, 15.7%)

Harmony colors

Complementary

#98d798

Analogous

#b898d7
#d798d7
#d798b8

Triadic

#d798d7
#d7d798
#98d7d7

Split-complementary

#d798d7
#b8d798
#98d7b8

Tetradic

#d798d7
#d79898
#98d798
#98d7d7

Square

#d798d7
#d7b898
#98d798
#98b8d7

Shades

Color #d798d7 mixed toward black.

#c66cc6
#b044b0
#843384
#582258
#2c112c

Tints

Color #d798d7 mixed toward white.

#dea9de
#e4bae4
#ebcceb
#f2ddf2
#f8eef8

Tones

Color #d798d7 mixed toward gray.

#d29dd2
#cda3cd
#c7a8c7
#c2adc2
#bdb2bd

Accessibility

Aa White text on this color
2.24:1
Aa Black text on this color
9.36:1

Black text reads better on this background (9.36:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#bfbfca · ΔE 20.2

Deuteranopia

#c2c7c7 · ΔE 19.5

Tritanopia

#d4bfbd · ΔE 21.1

Achromatopsia

#adadad · ΔE 23.3

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

Code

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

Related colors

Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8
Violet #ee82ee

Frequently asked questions

#d798d7 (#d798d7) is rgb(215, 152, 215) in RGB.

No, #d798d7 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 #d798d7, 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.