#DF51CC#DF51CC

#DF51CC is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.7% C 0.222 H 333.5°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#DF51CC
RGBrgb(223, 81, 204)
HSLhsl(308, 69%, 60%)
HSVhsv(308, 64%, 87%)
CMYKcmyk(0%, 63.7%, 8.5%, 12.5%)
CIE-LABlab(57.98, 68.73, -36.23)
CIE-LCHlch(57.98, 77.69, 332.20°)
OKLaboklab(66.67% 0.1984 -0.099)
OKLCHoklch(66.67% 0.222 333.5)
XYZxyz(44.2731, 25.9359, 59.7894)
Luminance0.2593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51CC #51DF64
analogous
#AB51DF #DF51CC #DF5185
triadic
#DF51CC #CCDF51 #51CCDF
tetradic
#DF51CC #DFAB51 #51DF64 #5185DF
square
#DF51CC #DFAB51 #51DF64 #5185DF
split-complementary
#DF51CC #85DF51 #51DFAB
monochromatic
#991C89 #CD26B7 #DF51CC #E985DB #F2B8EA

Accessibility & contrast

On white

3.39
#DF51CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#DF51CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51CC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51CC#FFFFFF#000000##000000
##DF51CC1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ED0
Deuteranopia (green-blind)
#7D93C8
Tritanopia (blue-blind)
#E95C87
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #df51cc;
/* rgb */ color: rgb(223, 81, 204);
/* oklch */ color: oklch(66.7% 0.222 333.5);
Tailwind
colors: {
  custom: {
    50: '#ec8bdc',
    500: '#df51cc',
    950: '#000000',
  },
}
SCSS
$custom: #df51cc;
$custom-light: #ec8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#df51cc",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 308.028,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66666,
    "c": 0.22172,
    "h": 333.5
  },
  "luminance": 0.25932
}

Semantic roles & 50–950 ramp

primary
#DF51CC
secondary
#AAE1B2
accent
#EC543C
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DF51CC

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

Preview Lab → · Contrast checker → · Palette generator →

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