#D72EC9#D72EC9

#D72EC9 is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.5% C 0.253 H 332.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D72EC9
RGBrgb(215, 46, 201)
HSLhsl(305, 68%, 51%)
HSVhsv(305, 79%, 84%)
CMYKcmyk(0%, 78.6%, 6.5%, 15.7%)
CIE-LABlab(52.53, 77.87, -43.17)
CIE-LCHlch(52.53, 89.03, 331.00°)
OKLaboklab(62.45% 0.2235 -0.1189)
OKLCHoklch(62.45% 0.253 332)
XYZxyz(39.5441, 20.6215, 57.1447)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D72EC9 #2ED73C
analogous
#902ED7 #D72EC9 #D72E74
triadic
#D72EC9 #C9D72E #2EC9D7
tetradic
#D72EC9 #D7902E #2ED73C #2E74D7
square
#D72EC9 #D7902E #2ED73C #2E74D7
split-complementary
#D72EC9 #74D72E #2ED790
monochromatic
#74166D #A8209C #D72EC9 #E161D6 #EB95E4

Accessibility & contrast

On white

4.10
#D72EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#D72EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D72EC9
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D72EC9#FFFFFF#000000##000000
##D72EC91.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D6ECD
Deuteranopia (green-blind)
#6985C5
Tritanopia (blue-blind)
#E0447B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d72ec9;
/* rgb */ color: rgb(215, 46, 201);
/* oklch */ color: oklch(62.5% 0.253 332.0);
Tailwind
colors: {
  custom: {
    50: '#e87bda',
    500: '#d72ec9',
    950: '#000000',
  },
}
SCSS
$custom: #d72ec9;
$custom-light: #e87bda;
$custom-dark: #000000;
JSON
{
  "hex": "#d72ec9",
  "rgb": {
    "r": 215,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 304.97,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.62451,
    "c": 0.25313,
    "h": 332
  },
  "luminance": 0.20618
}

Semantic roles & 50–950 ramp

primary
#D72EC9
secondary
#8BD691
accent
#EB4B3D
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #D72EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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