#D72ED7#D72ED7

#D72ED7 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 63.2% C 0.263 H 328.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#D72ED7
RGBrgb(215, 46, 215)
HSLhsl(300, 68%, 51%)
HSVhsv(300, 79%, 84%)
CMYKcmyk(0%, 78.6%, 0%, 15.7%)
CIE-LABlab(53.29, 79.95, -49.98)
CIE-LCHlch(53.29, 94.29, 327.99°)
OKLaboklab(63.23% 0.2232 -0.1387)
OKLCHoklch(63.23% 0.263 328.1)
XYZxyz(41.2666, 21.3105, 66.2167)
Luminance0.2131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D72ED7 #2ED72E
analogous
#822ED7 #D72ED7 #D72E82
triadic
#D72ED7 #D7D72E #2ED7D7
tetradic
#D72ED7 #D7822E #2ED72E #2E82D7
square
#D72ED7 #D7822E #2ED72E #2E82D7
split-complementary
#D72ED7 #82D72E #2ED782
monochromatic
#741674 #A820A8 #D72ED7 #E161E1 #EB95EB

Accessibility & contrast

On white

3.99
#D72ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#D72ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D72ED7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D72ED7#FFFFFF#000000##000000
##D72ED71.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#6087D3
Tritanopia (blue-blind)
#DE4C83
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d72ed7;
/* rgb */ color: rgb(215, 46, 215);
/* oklch */ color: oklch(63.2% 0.263 328.1);
Tailwind
colors: {
  custom: {
    50: '#e87ce4',
    500: '#d72ed7',
    950: '#000000',
  },
}
SCSS
$custom: #d72ed7;
$custom-light: #e87ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#d72ed7",
  "rgb": {
    "r": 215,
    "g": 46,
    "b": 215
  },
  "hsl": {
    "h": 300,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.63231,
    "c": 0.26282,
    "h": 328.1
  },
  "luminance": 0.21307
}

Semantic roles & 50–950 ramp

primary
#D72ED7
secondary
#8BD68B
accent
#EB3D3D
background
#FEF8FE
surface
#FDEFFC
border
#D5CAD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #D72ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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