#DF51D9#DF51D9

#DF51D9 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.3% C 0.232 H 329.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#DF51D9
RGBrgb(223, 81, 217)
HSLhsl(303, 69%, 60%)
HSVhsv(303, 64%, 87%)
CMYKcmyk(0%, 63.7%, 2.7%, 12.5%)
CIE-LABlab(58.59, 70.77, -42.64)
CIE-LCHlch(58.59, 82.62, 328.93°)
OKLaboklab(67.31% 0.1996 -0.1175)
OKLCHoklch(67.31% 0.232 329.5)
XYZxyz(45.8979, 26.5858, 68.3463)
Luminance0.2658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51D9 #51DF57
analogous
#9E51DF #DF51D9 #DF5192
triadic
#DF51D9 #D9DF51 #51D9DF
tetradic
#DF51D9 #DF9E51 #51DF57 #5192DF
square
#DF51D9 #DF9E51 #51DF57 #5192DF
split-complementary
#DF51D9 #92DF51 #51DF9E
monochromatic
#991C94 #CD26C6 #DF51D9 #E985E4 #F2B8F0

Accessibility & contrast

On white

3.32
#DF51D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#DF51D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51D9
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51D9#FFFFFF#000000##000000
##DF51D91.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4381DD
Deuteranopia (green-blind)
#7794D5
Tritanopia (blue-blind)
#E7628E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #df51d9;
/* rgb */ color: rgb(223, 81, 217);
/* oklch */ color: oklch(67.3% 0.232 329.5);
Tailwind
colors: {
  custom: {
    50: '#ec8ce5',
    500: '#df51d9',
    950: '#000000',
  },
}
SCSS
$custom: #df51d9;
$custom-light: #ec8ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#df51d9",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 302.535,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.67311,
    "c": 0.23157,
    "h": 329.5
  },
  "luminance": 0.26583
}

Semantic roles & 50–950 ramp

primary
#DF51D9
secondary
#AAE1AD
accent
#EC433C
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF51D9

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

Preview Lab → · Contrast checker → · Palette generator →

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