#DF2EC4#DF2EC4

#DF2EC4 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.4% C 0.254 H 335.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#DF2EC4
RGBrgb(223, 46, 196)
HSLhsl(309, 73%, 53%)
HSVhsv(309, 79%, 87%)
CMYKcmyk(0%, 79.4%, 12.1%, 12.5%)
CIE-LABlab(53.63, 78.79, -38.46)
CIE-LCHlch(53.63, 87.67, 333.98°)
OKLaboklab(63.41% 0.2308 -0.1052)
OKLCHoklch(63.41% 0.254 335.5)
XYZxyz(41.3729, 21.6314, 54.2102)
Luminance0.2163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF2EC4 #2EDF49
analogous
#A22EDF #DF2EC4 #DF2E6B
triadic
#DF2EC4 #C4DF2E #2EC4DF
tetradic
#DF2EC4 #DFA22E #2EDF49 #2E6BDF
square
#DF2EC4 #DFA22E #2EDF49 #2E6BDF
split-complementary
#DF2EC4 #6BDF2E #2EDFA2
monochromatic
#7F136F #B41C9D #DF2EC4 #E763D3 #EF98E2

Accessibility & contrast

On white

3.94
#DF2EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#DF2EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF2EC4
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF2EC4#FFFFFF#000000##000000
##DF2EC41.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F70C8
Deuteranopia (green-blind)
#7289C0
Tritanopia (blue-blind)
#EA3F79
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #df2ec4;
/* rgb */ color: rgb(223, 46, 196);
/* oklch */ color: oklch(63.4% 0.254 335.5);
Tailwind
colors: {
  custom: {
    50: '#ee7cd6',
    500: '#df2ec4',
    950: '#000000',
  },
}
SCSS
$custom: #df2ec4;
$custom-light: #ee7cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#df2ec4",
  "rgb": {
    "r": 223,
    "g": 46,
    "b": 196
  },
  "hsl": {
    "h": 309.153,
    "s": 73.444,
    "l": 52.745
  },
  "oklch": {
    "l": 0.63409,
    "c": 0.25363,
    "h": 335.5
  },
  "luminance": 0.21627
}

Semantic roles & 50–950 ramp

primary
#DF2EC4
secondary
#8EDB9A
accent
#F05438
background
#FFF8FD
surface
#FFEFFA
border
#D7CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #DF2EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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