#D72ED2#D72ED2

#D72ED2 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.9% C 0.259 H 329.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#D72ED2
RGBrgb(215, 46, 210)
HSLhsl(302, 68%, 51%)
HSVhsv(302, 79%, 84%)
CMYKcmyk(0%, 78.6%, 2.3%, 15.7%)
CIE-LABlab(53.01, 79.20, -47.57)
CIE-LCHlch(53.01, 92.38, 329.01°)
OKLaboklab(62.95% 0.2234 -0.1317)
OKLCHoklch(62.95% 0.259 329.5)
XYZxyz(40.6339, 21.0574, 62.8846)
Luminance0.2105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D72ED2 #2ED733
analogous
#872ED7 #D72ED2 #D72E7D
triadic
#D72ED2 #D2D72E #2ED2D7
tetradic
#D72ED2 #D7872E #2ED733 #2E7DD7
square
#D72ED2 #D7872E #2ED733 #2E7DD7
split-complementary
#D72ED2 #7DD72E #2ED787
monochromatic
#741672 #A820A4 #D72ED2 #E161DD #EB95E8

Accessibility & contrast

On white

4.03
#D72ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#D72ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D72ED2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D72ED2#FFFFFF#000000##000000
##D72ED21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0170D6
Deuteranopia (green-blind)
#6486CE
Tritanopia (blue-blind)
#DF4981
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d72ed2;
/* rgb */ color: rgb(215, 46, 210);
/* oklch */ color: oklch(62.9% 0.259 329.5);
Tailwind
colors: {
  custom: {
    50: '#e87be0',
    500: '#d72ed2',
    950: '#000000',
  },
}
SCSS
$custom: #d72ed2;
$custom-light: #e87be0;
$custom-dark: #000000;
JSON
{
  "hex": "#d72ed2",
  "rgb": {
    "r": 215,
    "g": 46,
    "b": 210
  },
  "hsl": {
    "h": 301.775,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.62947,
    "c": 0.25932,
    "h": 329.5
  },
  "luminance": 0.21054
}

Semantic roles & 50–950 ramp

primary
#D72ED2
secondary
#8BD68D
accent
#EB423D
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #D72ED2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D72ED2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva