#DF52D8#DF52D8

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

Color values

HEX#DF52D8
RGBrgb(223, 82, 216)
HSLhsl(303, 69%, 60%)
HSVhsv(303, 63%, 87%)
CMYKcmyk(0%, 63.2%, 3.1%, 12.5%)
CIE-LABlab(58.68, 70.22, -41.93)
CIE-LCHlch(58.68, 81.79, 329.15°)
OKLaboklab(67.36% 0.1984 -0.1154)
OKLCHoklch(67.36% 0.23 329.8)
XYZxyz(45.8431, 26.6837, 67.6884)
Luminance0.2668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52D8 #52DF59
analogous
#A052DF #DF52D8 #DF5291
triadic
#DF52D8 #D8DF52 #52D8DF
tetradic
#DF52D8 #DFA052 #52DF59 #5291DF
square
#DF52D8 #DFA052 #52DF59 #5291DF
split-complementary
#DF52D8 #91DF52 #52DFA0
monochromatic
#9A1D94 #CE26C5 #DF52D8 #E986E4 #F2B9EF

Accessibility & contrast

On white

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

On black

6.34
#DF52D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52D8
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52D8#FFFFFF#000000##000000
##DF52D81.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4681DC
Deuteranopia (green-blind)
#7894D4
Tritanopia (blue-blind)
#E7628E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #df52d8;
/* rgb */ color: rgb(223, 82, 216);
/* oklch */ color: oklch(67.4% 0.230 329.8);
Tailwind
colors: {
  custom: {
    50: '#ec8ce4',
    500: '#df52d8',
    950: '#000000',
  },
}
SCSS
$custom: #df52d8;
$custom-light: #ec8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#df52d8",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 302.979,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.67361,
    "c": 0.22953,
    "h": 329.8
  },
  "luminance": 0.2668
}

Semantic roles & 50–950 ramp

primary
#DF52D8
secondary
#ABE2AE
accent
#EC453C
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D15
muted
#857E84

Preview Lab

Preview with #DF52D8

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

Preview Lab → · Contrast checker → · Palette generator →

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