#DF52D9#DF52D9

#DF52D9 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.4% C 0.230 H 329.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#DF52D9
RGBrgb(223, 82, 217)
HSLhsl(303, 69%, 60%)
HSVhsv(303, 63%, 87%)
CMYKcmyk(0%, 63.2%, 2.7%, 12.5%)
CIE-LABlab(58.73, 70.38, -42.42)
CIE-LCHlch(58.73, 82.18, 328.92°)
OKLaboklab(67.41% 0.1985 -0.1168)
OKLCHoklch(67.41% 0.23 329.5)
XYZxyz(45.9727, 26.7356, 68.3713)
Luminance0.2673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52D9 #52DF58
analogous
#9E52DF #DF52D9 #DF5293
triadic
#DF52D9 #D9DF52 #52D9DF
tetradic
#DF52D9 #DF9E52 #52DF58 #5293DF
square
#DF52D9 #DF9E52 #52DF58 #5293DF
split-complementary
#DF52D9 #93DF52 #52DF9E
monochromatic
#9A1D95 #CE26C7 #DF52D9 #E986E4 #F2B9F0

Accessibility & contrast

On white

3.31
#DF52D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#DF52D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52D9
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52D9#FFFFFF#000000##000000
##DF52D91.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4581DD
Deuteranopia (green-blind)
#7794D5
Tritanopia (blue-blind)
#E7628F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #df52d9;
/* rgb */ color: rgb(223, 82, 217);
/* oklch */ color: oklch(67.4% 0.230 329.5);
Tailwind
colors: {
  custom: {
    50: '#ec8ce5',
    500: '#df52d9',
    950: '#000000',
  },
}
SCSS
$custom: #df52d9;
$custom-light: #ec8ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#df52d9",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 302.553,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.67412,
    "c": 0.2303,
    "h": 329.5
  },
  "luminance": 0.26732
}

Semantic roles & 50–950 ramp

primary
#DF52D9
secondary
#ABE2AD
accent
#EC443C
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF52D9

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

Preview Lab → · Contrast checker → · Palette generator →

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