#DF4EC7#DF4EC7

#DF4EC7 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.1% C 0.222 H 335.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#DF4EC7
RGBrgb(223, 78, 199)
HSLhsl(310, 69%, 59%)
HSVhsv(310, 65%, 87%)
CMYKcmyk(0%, 65%, 10.8%, 12.5%)
CIE-LABlab(57.33, 69.13, -34.39)
CIE-LCHlch(57.33, 77.21, 333.55°)
OKLaboklab(66.12% 0.2012 -0.0937)
OKLCHoklch(66.12% 0.222 335)
XYZxyz(43.4650, 25.2639, 56.6090)
Luminance0.2526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF4EC7 #4EDF66
analogous
#AF4EDF #DF4EC7 #DF4E7F
triadic
#DF4EC7 #C7DF4E #4EC7DF
tetradic
#DF4EC7 #DFAF4E #4EDF66 #4E7FDF
square
#DF4EC7 #DFAF4E #4EDF66 #4E7FDF
split-complementary
#DF4EC7 #7FDF4E #4EDFAF
monochromatic
#971B83 #CB25B0 #DF4EC7 #E882D7 #F2B6E8

Accessibility & contrast

On white

3.47
#DF4EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#DF4EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF4EC7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF4EC7#FFFFFF#000000##000000
##DF4EC71.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7CCB
Deuteranopia (green-blind)
#7D91C3
Tritanopia (blue-blind)
#E95884
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #df4ec7;
/* rgb */ color: rgb(223, 78, 199);
/* oklch */ color: oklch(66.1% 0.222 335.0);
Tailwind
colors: {
  custom: {
    50: '#ed8ad8',
    500: '#df4ec7',
    950: '#000000',
  },
}
SCSS
$custom: #df4ec7;
$custom-light: #ed8ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#df4ec7",
  "rgb": {
    "r": 223,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 309.931,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66124,
    "c": 0.22197,
    "h": 335
  },
  "luminance": 0.2526
}

Semantic roles & 50–950 ramp

primary
#DF4EC7
secondary
#A8E1B1
accent
#EC593C
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170D14
muted
#857D83

Preview Lab

Preview with #DF4EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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