#DF4ED9#DF4ED9

#DF4ED9 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 67.0% C 0.235 H 329.5°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#DF4ED9
RGBrgb(223, 78, 217)
HSLhsl(302, 69%, 59%)
HSVhsv(302, 65%, 87%)
CMYKcmyk(0%, 65%, 2.7%, 12.5%)
CIE-LABlab(58.18, 71.91, -43.29)
CIE-LCHlch(58.18, 83.94, 328.95°)
OKLaboklab(67.01% 0.2028 -0.1193)
OKLCHoklch(67.01% 0.235 329.5)
XYZxyz(45.6798, 26.1498, 68.2737)
Luminance0.2615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF4ED9 #4EDF54
analogous
#9D4EDF #DF4ED9 #DF4E91
triadic
#DF4ED9 #D9DF4E #4ED9DF
tetradic
#DF4ED9 #DF9D4E #4EDF54 #4E91DF
square
#DF4ED9 #DF9D4E #4EDF54 #4E91DF
split-complementary
#DF4ED9 #91DF4E #4EDF9D
monochromatic
#971B92 #CB25C4 #DF4ED9 #E882E4 #F2B6EF

Accessibility & contrast

On white

3.37
#DF4ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#DF4ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF4ED9
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF4ED9#FFFFFF#000000##000000
##DF4ED91.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7FDD
Deuteranopia (green-blind)
#7593D5
Tritanopia (blue-blind)
#E75F8D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #df4ed9;
/* rgb */ color: rgb(223, 78, 217);
/* oklch */ color: oklch(67.0% 0.235 329.5);
Tailwind
colors: {
  custom: {
    50: '#ed8ae5',
    500: '#df4ed9',
    950: '#000000',
  },
}
SCSS
$custom: #df4ed9;
$custom-light: #ed8ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#df4ed9",
  "rgb": {
    "r": 223,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 302.483,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.67014,
    "c": 0.23533,
    "h": 329.5
  },
  "luminance": 0.26147
}

Semantic roles & 50–950 ramp

primary
#DF4ED9
secondary
#A8E1AA
accent
#EC433C
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170D16
muted
#857D84

Preview Lab

Preview with #DF4ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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