#D72EE2#D72EE2

#D72EE2 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.9% C 0.271 H 325.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#D72EE2
RGBrgb(215, 46, 226)
HSLhsl(296, 76%, 53%)
HSVhsv(296, 80%, 89%)
CMYKcmyk(4.9%, 79.6%, 0%, 11.4%)
CIE-LABlab(53.92, 81.67, -55.23)
CIE-LCHlch(53.92, 98.59, 325.93°)
OKLaboklab(63.88% 0.2226 -0.154)
OKLCHoklch(63.88% 0.271 325.3)
XYZxyz(42.7278, 21.8950, 73.9124)
Luminance0.2189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D72EE2 #39E22E
analogous
#7D2EE2 #D72EE2 #E22E93
triadic
#D72EE2 #E2D72E #2EE2D7
tetradic
#D72EE2 #E27D2E #39E22E #2E93E2
square
#D72EE2 #E27D2E #39E22E #2E93E2
split-complementary
#D72EE2 #93E22E #2EE27D
monochromatic
#7C1283 #AF1AB9 #D72EE2 #E164E9 #EC99F1

Accessibility & contrast

On white

3.90
#D72EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#D72EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D72EE2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D72EE2#FFFFFF#000000##000000
##D72EE21.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#5988DE
Tritanopia (blue-blind)
#DC528A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d72ee2;
/* rgb */ color: rgb(215, 46, 226);
/* oklch */ color: oklch(63.9% 0.271 325.3);
Tailwind
colors: {
  custom: {
    50: '#e87cec',
    500: '#d72ee2',
    950: '#000000',
  },
}
SCSS
$custom: #d72ee2;
$custom-light: #e87cec;
$custom-dark: #000000;
JSON
{
  "hex": "#d72ee2",
  "rgb": {
    "r": 215,
    "g": 46,
    "b": 226
  },
  "hsl": {
    "h": 296.333,
    "s": 75.63,
    "l": 53.333
  },
  "oklch": {
    "l": 0.63877,
    "c": 0.27065,
    "h": 325.3
  },
  "luminance": 0.21892
}

Semantic roles & 50–950 ramp

primary
#D72EE2
secondary
#94DD8F
accent
#F23641
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #D72EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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