#DF52D1#DF52D1

#DF52D1 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.0% C 0.224 H 331.9°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#DF52D1
RGBrgb(223, 82, 209)
HSLhsl(306, 69%, 60%)
HSVhsv(306, 63%, 87%)
CMYKcmyk(0%, 63.2%, 6.3%, 12.5%)
CIE-LABlab(58.35, 69.11, -38.49)
CIE-LCHlch(58.35, 79.10, 330.88°)
OKLaboklab(67.01% 0.1978 -0.1055)
OKLCHoklch(67.01% 0.224 331.9)
XYZxyz(44.9573, 26.3294, 63.0235)
Luminance0.2633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52D1 #52DF60
analogous
#A652DF #DF52D1 #DF528B
triadic
#DF52D1 #D1DF52 #52D1DF
tetradic
#DF52D1 #DFA652 #52DF60 #528BDF
square
#DF52D1 #DFA652 #52DF60 #528BDF
split-complementary
#DF52D1 #8BDF52 #52DFA6
monochromatic
#9A1D8E #CE26BD #DF52D1 #E986DF #F2B9EC

Accessibility & contrast

On white

3.35
#DF52D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#DF52D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52D1
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52D1#FFFFFF#000000##000000
##DF52D11.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B80D5
Deuteranopia (green-blind)
#7B93CD
Tritanopia (blue-blind)
#E85F8A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #df52d1;
/* rgb */ color: rgb(223, 82, 209);
/* oklch */ color: oklch(67.0% 0.224 331.9);
Tailwind
colors: {
  custom: {
    50: '#ec8cdf',
    500: '#df52d1',
    950: '#000000',
  },
}
SCSS
$custom: #df52d1;
$custom-light: #ec8cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#df52d1",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 305.957,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.67012,
    "c": 0.22416,
    "h": 331.9
  },
  "luminance": 0.26326
}

Semantic roles & 50–950 ramp

primary
#DF52D1
secondary
#ABE2B1
accent
#EC4E3C
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DF52D1

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

Preview Lab → · Contrast checker → · Palette generator →

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