#D24EC7#D24EC7

#D24EC7 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.3% C 0.214 H 331.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#D24EC7
RGBrgb(210, 78, 199)
HSLhsl(305, 59%, 56%)
HSVhsv(305, 63%, 82%)
CMYKcmyk(0%, 62.9%, 5.2%, 17.6%)
CIE-LABlab(55.36, 65.91, -37.62)
CIE-LCHlch(55.36, 75.89, 330.28°)
OKLaboklab(64.3% 0.1878 -0.1032)
OKLCHoklch(64.3% 0.214 331.2)
XYZxyz(39.6114, 23.2768, 56.4283)
Luminance0.2327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D24EC7 #4ED259
analogous
#9B4ED2 #D24EC7 #D24E85
triadic
#D24EC7 #C7D24E #4EC7D2
tetradic
#D24EC7 #D29B4E #4ED259 #4E85D2
square
#D24EC7 #D29B4E #4ED259 #4E85D2
split-complementary
#D24EC7 #85D24E #4ED29B
monochromatic
#84227C #B52EAA #D24EC7 #DE7FD6 #EBB0E6

Accessibility & contrast

On white

3.71
#D24EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#D24EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D24EC7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D24EC7#FFFFFF#000000##000000
##D24EC71.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4679CB
Deuteranopia (green-blind)
#738BC4
Tritanopia (blue-blind)
#DA5B84
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d24ec7;
/* rgb */ color: rgb(210, 78, 199);
/* oklch */ color: oklch(64.3% 0.214 331.2);
Tailwind
colors: {
  custom: {
    50: '#e388d8',
    500: '#d24ec7',
    950: '#000000',
  },
}
SCSS
$custom: #d24ec7;
$custom-light: #e388d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d24ec7",
  "rgb": {
    "r": 210,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 305,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64299,
    "c": 0.21431,
    "h": 331.2
  },
  "luminance": 0.23274
}

Semantic roles & 50–950 ramp

primary
#D24EC7
secondary
#A3D9A7
accent
#E35245
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D24EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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