#DF52E2#DF52E2

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

Color values

HEX#DF52E2
RGBrgb(223, 82, 226)
HSLhsl(299, 71%, 60%)
HSVhsv(299, 64%, 89%)
CMYKcmyk(1.3%, 63.7%, 0%, 11.4%)
CIE-LABlab(59.17, 71.85, -46.79)
CIE-LCHlch(59.17, 85.74, 326.93°)
OKLaboklab(67.88% 0.199 -0.1295)
OKLCHoklch(67.88% 0.237 327)
XYZxyz(47.1754, 27.2166, 74.7053)
Luminance0.2721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52E2 #55E252
analogous
#9752E2 #DF52E2 #E2529D
triadic
#DF52E2 #E2DF52 #52E2DF
tetradic
#DF52E2 #E29752 #55E252 #529DE2
square
#DF52E2 #E29752 #55E252 #529DE2
split-complementary
#DF52E2 #9DE252 #52E297
monochromatic
#9C1B9F #D023D3 #DF52E2 #E986EB #F2BBF4

Accessibility & contrast

On white

3.26
#DF52E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#DF52E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52E2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52E2#FFFFFF#000000##000000
##DF52E21.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df52e2;
/* rgb */ color: rgb(223, 82, 226);
/* oklch */ color: oklch(67.9% 0.237 327.0);
Tailwind
colors: {
  custom: {
    50: '#ec8ceb',
    500: '#df52e2',
    950: '#000000',
  },
}
SCSS
$custom: #df52e2;
$custom-light: #ec8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#df52e2",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 298.75,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.67879,
    "c": 0.23739,
    "h": 327
  },
  "luminance": 0.27214
}

Semantic roles & 50–950 ramp

primary
#DF52E2
secondary
#AEE3AC
accent
#D31216
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF52E2

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

Preview Lab → · Contrast checker → · Palette generator →

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