#DF52E1#DF52E1

#DF52E1 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.8% C 0.237 H 327.2°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#DF52E1
RGBrgb(223, 82, 225)
HSLhsl(299, 70%, 60%)
HSVhsv(299, 64%, 88%)
CMYKcmyk(0.9%, 63.6%, 0%, 11.8%)
CIE-LABlab(59.12, 71.69, -46.31)
CIE-LCHlch(59.12, 85.34, 327.14°)
OKLaboklab(67.83% 0.1989 -0.1281)
OKLCHoklch(67.83% 0.237 327.2)
XYZxyz(47.0386, 27.1619, 73.9848)
Luminance0.2716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52E1 #54E152
analogous
#9852E1 #DF52E1 #E1529B
triadic
#DF52E1 #E1DF52 #52E1DF
tetradic
#DF52E1 #E19852 #54E152 #529BE1
square
#DF52E1 #E19852 #54E152 #529BE1
split-complementary
#DF52E1 #9BE152 #52E198
monochromatic
#9C1B9D #CF24D1 #DF52E1 #E986EA #F2BAF3

Accessibility & contrast

On white

3.27
#DF52E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#DF52E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52E1
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52E1#FFFFFF#000000##000000
##DF52E11.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D83E5
Deuteranopia (green-blind)
#7395DD
Tritanopia (blue-blind)
#E56693
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #df52e1;
/* rgb */ color: rgb(223, 82, 225);
/* oklch */ color: oklch(67.8% 0.237 327.2);
Tailwind
colors: {
  custom: {
    50: '#ec8ceb',
    500: '#df52e1',
    950: '#000000',
  },
}
SCSS
$custom: #df52e1;
$custom-light: #ec8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#df52e1",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 299.161,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.67826,
    "c": 0.2366,
    "h": 327.2
  },
  "luminance": 0.27159
}

Semantic roles & 50–950 ramp

primary
#DF52E1
secondary
#ADE3AC
accent
#D21316
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF52E1

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

Preview Lab → · Contrast checker → · Palette generator →

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