#DF51C9#DF51C9

#DF51C9 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.5% C 0.220 H 334.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#DF51C9
RGBrgb(223, 81, 201)
HSLhsl(309, 69%, 60%)
HSVhsv(309, 64%, 87%)
CMYKcmyk(0%, 63.7%, 9.9%, 12.5%)
CIE-LABlab(57.84, 68.27, -34.73)
CIE-LCHlch(57.84, 76.60, 333.03°)
OKLaboklab(66.52% 0.198 -0.0947)
OKLCHoklch(66.52% 0.22 334.4)
XYZxyz(43.9168, 25.7934, 57.9126)
Luminance0.2579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51C9 #51DF67
analogous
#AE51DF #DF51C9 #DF5182
triadic
#DF51C9 #C9DF51 #51C9DF
tetradic
#DF51C9 #DFAE51 #51DF67 #5182DF
square
#DF51C9 #DFAE51 #51DF67 #5182DF
split-complementary
#DF51C9 #82DF51 #51DFAE
monochromatic
#991C86 #CD26B3 #DF51C9 #E985D9 #F2B8E9

Accessibility & contrast

On white

3.41
#DF51C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#DF51C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51C9
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51C9#FFFFFF#000000##000000
##DF51C91.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#507ECD
Deuteranopia (green-blind)
#7E93C5
Tritanopia (blue-blind)
#E95B86
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #df51c9;
/* rgb */ color: rgb(223, 81, 201);
/* oklch */ color: oklch(66.5% 0.220 334.4);
Tailwind
colors: {
  custom: {
    50: '#ec8bda',
    500: '#df51c9',
    950: '#000000',
  },
}
SCSS
$custom: #df51c9;
$custom-light: #ec8bda;
$custom-dark: #000000;
JSON
{
  "hex": "#df51c9",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 201
  },
  "hsl": {
    "h": 309.296,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66523,
    "c": 0.21953,
    "h": 334.4
  },
  "luminance": 0.2579
}

Semantic roles & 50–950 ramp

primary
#DF51C9
secondary
#AAE1B3
accent
#EC573C
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#170D15
muted
#857E83

Preview Lab

Preview with #DF51C9

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

Preview Lab → · Contrast checker → · Palette generator →

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