#D72ECF#D72ECF

#D72ECF is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.8% C 0.257 H 330.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#D72ECF
RGBrgb(215, 46, 207)
HSLhsl(303, 68%, 51%)
HSVhsv(303, 79%, 84%)
CMYKcmyk(0%, 78.6%, 3.7%, 15.7%)
CIE-LABlab(52.85, 78.75, -46.11)
CIE-LCHlch(52.85, 91.25, 329.65°)
OKLaboklab(62.78% 0.2235 -0.1274)
OKLCHoklch(62.78% 0.257 330.3)
XYZxyz(40.2637, 20.9093, 60.9347)
Luminance0.2091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D72ECF #2ED736
analogous
#8A2ED7 #D72ECF #D72E7A
triadic
#D72ECF #CFD72E #2ECFD7
tetradic
#D72ECF #D78A2E #2ED736 #2E7AD7
square
#D72ECF #D78A2E #2ED736 #2E7AD7
split-complementary
#D72ECF #7AD72E #2ED78A
monochromatic
#741670 #A820A1 #D72ECF #E161DB #EB95E7

Accessibility & contrast

On white

4.05
#D72ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#D72ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D72ECF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D72ECF#FFFFFF#000000##000000
##D72ECF1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E70D3
Deuteranopia (green-blind)
#6586CB
Tritanopia (blue-blind)
#DF487F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d72ecf;
/* rgb */ color: rgb(215, 46, 207);
/* oklch */ color: oklch(62.8% 0.257 330.3);
Tailwind
colors: {
  custom: {
    50: '#e87bde',
    500: '#d72ecf',
    950: '#000000',
  },
}
SCSS
$custom: #d72ecf;
$custom-light: #e87bde;
$custom-dark: #000000;
JSON
{
  "hex": "#d72ecf",
  "rgb": {
    "r": 215,
    "g": 46,
    "b": 207
  },
  "hsl": {
    "h": 302.84,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.62779,
    "c": 0.25724,
    "h": 330.3
  },
  "luminance": 0.20906
}

Semantic roles & 50–950 ramp

primary
#D72ECF
secondary
#8BD68F
accent
#EB453D
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #D72ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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