#DF2EC5#DF2EC5

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

Color values

HEX#DF2EC5
RGBrgb(223, 46, 197)
HSLhsl(309, 73%, 53%)
HSVhsv(309, 79%, 87%)
CMYKcmyk(0%, 79.4%, 11.7%, 12.5%)
CIE-LABlab(53.68, 78.93, -38.96)
CIE-LCHlch(53.68, 88.02, 333.73°)
OKLaboklab(63.46% 0.2309 -0.1066)
OKLCHoklch(63.46% 0.254 335.2)
XYZxyz(41.4871, 21.6770, 54.8116)
Luminance0.2167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF2EC5 #2EDF48
analogous
#A12EDF #DF2EC5 #DF2E6C
triadic
#DF2EC5 #C5DF2E #2EC5DF
tetradic
#DF2EC5 #DFA12E #2EDF48 #2E6CDF
square
#DF2EC5 #DFA12E #2EDF48 #2E6CDF
split-complementary
#DF2EC5 #6CDF2E #2EDFA1
monochromatic
#7F136F #B41C9E #DF2EC5 #E763D4 #EF98E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF2EC5#FFFFFF#000000##000000
##DF2EC51.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)
#2D70C9
Deuteranopia (green-blind)
#7289C1
Tritanopia (blue-blind)
#EA3F79
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #df2ec5;
/* rgb */ color: rgb(223, 46, 197);
/* oklch */ color: oklch(63.5% 0.254 335.2);
Tailwind
colors: {
  custom: {
    50: '#ee7cd7',
    500: '#df2ec5',
    950: '#000000',
  },
}
SCSS
$custom: #df2ec5;
$custom-light: #ee7cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#df2ec5",
  "rgb": {
    "r": 223,
    "g": 46,
    "b": 197
  },
  "hsl": {
    "h": 308.814,
    "s": 73.444,
    "l": 52.745
  },
  "oklch": {
    "l": 0.6346,
    "c": 0.25427,
    "h": 335.2
  },
  "luminance": 0.21673
}

Semantic roles & 50–950 ramp

primary
#DF2EC5
secondary
#8EDB99
accent
#F05338
background
#FFF8FD
surface
#FEEFFA
border
#D6CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #DF2EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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