#DF52DF#DF52DF

#DF52DF is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.7% C 0.235 H 327.8°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#DF52DF
RGBrgb(223, 82, 223)
HSLhsl(300, 69%, 60%)
HSVhsv(300, 63%, 87%)
CMYKcmyk(0%, 63.2%, 0%, 12.5%)
CIE-LABlab(59.02, 71.36, -45.34)
CIE-LCHlch(59.02, 84.54, 327.57°)
OKLaboklab(67.72% 0.1988 -0.1253)
OKLCHoklch(67.72% 0.235 327.8)
XYZxyz(46.7673, 27.0534, 72.5563)
Luminance0.2705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52DF #52DF52
analogous
#9952DF #DF52DF #DF5299
triadic
#DF52DF #DFDF52 #52DFDF
tetradic
#DF52DF #DF9952 #52DF52 #5299DF
square
#DF52DF #DF9952 #52DF52 #5299DF
split-complementary
#DF52DF #99DF52 #52DF99
monochromatic
#9A1D9A #CE26CE #DF52DF #E986E9 #F2B9F2

Accessibility & contrast

On white

3.28
#DF52DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#DF52DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52DF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52DF#FFFFFF#000000##000000
##DF52DF1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F82E3
Deuteranopia (green-blind)
#7495DB
Tritanopia (blue-blind)
#E66592
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #df52df;
/* rgb */ color: rgb(223, 82, 223);
/* oklch */ color: oklch(67.7% 0.235 327.8);
Tailwind
colors: {
  custom: {
    50: '#ec8ce9',
    500: '#df52df',
    950: '#000000',
  },
}
SCSS
$custom: #df52df;
$custom-light: #ec8ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#df52df",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 300,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.67721,
    "c": 0.23501,
    "h": 327.8
  },
  "luminance": 0.2705
}

Semantic roles & 50–950 ramp

primary
#DF52DF
secondary
#ABE2AB
accent
#EC3C3C
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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