#DF4ED2#DF4ED2

#DF4ED2 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.7% C 0.230 H 331.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#DF4ED2
RGBrgb(223, 78, 210)
HSLhsl(305, 69%, 59%)
HSVhsv(305, 65%, 87%)
CMYKcmyk(0%, 65%, 5.8%, 12.5%)
CIE-LABlab(57.84, 70.81, -39.86)
CIE-LCHlch(57.84, 81.26, 330.63°)
OKLaboklab(66.66% 0.2023 -0.1094)
OKLCHoklch(66.66% 0.23 331.6)
XYZxyz(44.7886, 25.7933, 63.5799)
Luminance0.2579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF4ED2 #4EDF5B
analogous
#A44EDF #DF4ED2 #DF4E8A
triadic
#DF4ED2 #D2DF4E #4ED2DF
tetradic
#DF4ED2 #DFA44E #4EDF5B #4E8ADF
square
#DF4ED2 #DFA44E #4EDF5B #4E8ADF
split-complementary
#DF4ED2 #8ADF4E #4EDFA4
monochromatic
#971B8C #CB25BC #DF4ED2 #E882DF #F2B6EC

Accessibility & contrast

On white

3.41
#DF4ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#DF4ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF4ED2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF4ED2#FFFFFF#000000##000000
##DF4ED21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#467ED6
Deuteranopia (green-blind)
#7992CE
Tritanopia (blue-blind)
#E85C89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #df4ed2;
/* rgb */ color: rgb(223, 78, 210);
/* oklch */ color: oklch(66.7% 0.230 331.6);
Tailwind
colors: {
  custom: {
    50: '#ed8ae0',
    500: '#df4ed2',
    950: '#000000',
  },
}
SCSS
$custom: #df4ed2;
$custom-light: #ed8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#df4ed2",
  "rgb": {
    "r": 223,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 305.379,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66659,
    "c": 0.23003,
    "h": 331.6
  },
  "luminance": 0.2579
}

Semantic roles & 50–950 ramp

primary
#DF4ED2
secondary
#A8E1AD
accent
#EC4B3C
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170D15
muted
#857D83

Preview Lab

Preview with #DF4ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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