#DF51CD#DF51CD

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

Color values

HEX#DF51CD
RGBrgb(223, 81, 205)
HSLhsl(308, 69%, 60%)
HSVhsv(308, 64%, 87%)
CMYKcmyk(0%, 63.7%, 8.1%, 12.5%)
CIE-LABlab(58.02, 68.88, -36.73)
CIE-LCHlch(58.02, 78.06, 331.93°)
OKLaboklab(66.71% 0.1985 -0.1004)
OKLCHoklch(66.71% 0.222 333.2)
XYZxyz(44.3934, 25.9841, 60.4231)
Luminance0.2598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51CD #51DF63
analogous
#AA51DF #DF51CD #DF5186
triadic
#DF51CD #CDDF51 #51CDDF
tetradic
#DF51CD #DFAA51 #51DF63 #5186DF
square
#DF51CD #DFAA51 #51DF63 #5186DF
split-complementary
#DF51CD #86DF51 #51DFAA
monochromatic
#991C8A #CD26B8 #DF51CD #E985DC #F2B8EB

Accessibility & contrast

On white

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

On black

6.20
#DF51CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51CD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51CD#FFFFFF#000000##000000
##DF51CD1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ED1
Deuteranopia (green-blind)
#7C93C9
Tritanopia (blue-blind)
#E95D88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #df51cd;
/* rgb */ color: rgb(223, 81, 205);
/* oklch */ color: oklch(66.7% 0.222 333.2);
Tailwind
colors: {
  custom: {
    50: '#ec8bdc',
    500: '#df51cd',
    950: '#000000',
  },
}
SCSS
$custom: #df51cd;
$custom-light: #ec8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#df51cd",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 307.606,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66714,
    "c": 0.22247,
    "h": 333.2
  },
  "luminance": 0.25981
}

Semantic roles & 50–950 ramp

primary
#DF51CD
secondary
#AAE1B1
accent
#EC523C
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DF51CD

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

Preview Lab → · Contrast checker → · Palette generator →

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