#DF51CF#DF51CF

#DF51CF is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.8% C 0.224 H 332.5°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#DF51CF
RGBrgb(223, 81, 207)
HSLhsl(307, 69%, 60%)
HSVhsv(307, 64%, 87%)
CMYKcmyk(0%, 63.7%, 7.2%, 12.5%)
CIE-LABlab(58.11, 69.19, -37.72)
CIE-LCHlch(58.11, 78.80, 331.40°)
OKLaboklab(66.81% 0.1987 -0.1033)
OKLCHoklch(66.81% 0.224 332.5)
XYZxyz(44.6364, 26.0813, 61.7026)
Luminance0.2608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51CF #51DF61
analogous
#A851DF #DF51CF #DF5188
triadic
#DF51CF #CFDF51 #51CFDF
tetradic
#DF51CF #DFA851 #51DF61 #5188DF
square
#DF51CF #DFA851 #51DF61 #5188DF
split-complementary
#DF51CF #88DF51 #51DFA8
monochromatic
#991C8B #CD26BA #DF51CF #E985DD #F2B8EC

Accessibility & contrast

On white

3.38
#DF51CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#DF51CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51CF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51CF#FFFFFF#000000##000000
##DF51CF1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7FD3
Deuteranopia (green-blind)
#7B93CB
Tritanopia (blue-blind)
#E85E89
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #df51cf;
/* rgb */ color: rgb(223, 81, 207);
/* oklch */ color: oklch(66.8% 0.224 332.5);
Tailwind
colors: {
  custom: {
    50: '#ec8bde',
    500: '#df51cf',
    950: '#000000',
  },
}
SCSS
$custom: #df51cf;
$custom-light: #ec8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#df51cf",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 306.761,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66812,
    "c": 0.22396,
    "h": 332.5
  },
  "luminance": 0.26078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF51CF

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

Preview Lab → · Contrast checker → · Palette generator →

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