#DF52D3#DF52D3

#DF52D3 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.1% C 0.226 H 331.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#DF52D3
RGBrgb(223, 82, 211)
HSLhsl(305, 69%, 60%)
HSVhsv(305, 63%, 87%)
CMYKcmyk(0%, 63.2%, 5.4%, 12.5%)
CIE-LABlab(58.44, 69.42, -39.48)
CIE-LCHlch(58.44, 79.86, 330.37°)
OKLaboklab(67.11% 0.198 -0.1083)
OKLCHoklch(67.11% 0.226 331.3)
XYZxyz(45.2065, 26.4291, 64.3357)
Luminance0.2643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52D3 #52DF5E
analogous
#A452DF #DF52D3 #DF528D
triadic
#DF52D3 #D3DF52 #52D3DF
tetradic
#DF52D3 #DFA452 #52DF5E #528DDF
square
#DF52D3 #DFA452 #52DF5E #528DDF
split-complementary
#DF52D3 #8DDF52 #52DFA4
monochromatic
#9A1D8F #CE26BF #DF52D3 #E986E0 #F2B9ED

Accessibility & contrast

On white

3.34
#DF52D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#DF52D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52D3
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52D3#FFFFFF#000000##000000
##DF52D31.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A80D7
Deuteranopia (green-blind)
#7A94CF
Tritanopia (blue-blind)
#E8608B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #df52d3;
/* rgb */ color: rgb(223, 82, 211);
/* oklch */ color: oklch(67.1% 0.226 331.3);
Tailwind
colors: {
  custom: {
    50: '#ec8ce1',
    500: '#df52d3',
    950: '#000000',
  },
}
SCSS
$custom: #df52d3;
$custom-light: #ec8ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#df52d3",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 305.106,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.67111,
    "c": 0.22567,
    "h": 331.3
  },
  "luminance": 0.26426
}

Semantic roles & 50–950 ramp

primary
#DF52D3
secondary
#ABE2B0
accent
#EC4B3C
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DF52D3

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

Preview Lab → · Contrast checker → · Palette generator →

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