#DF51DB#DF51DB

#DF51DB is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.4% C 0.233 H 328.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#DF51DB
RGBrgb(223, 81, 219)
HSLhsl(302, 69%, 60%)
HSVhsv(302, 64%, 87%)
CMYKcmyk(0%, 63.7%, 1.8%, 12.5%)
CIE-LABlab(58.69, 71.09, -43.62)
CIE-LCHlch(58.69, 83.41, 328.47°)
OKLaboklab(67.41% 0.1997 -0.1203)
OKLCHoklch(67.41% 0.233 328.9)
XYZxyz(46.1596, 26.6905, 69.7247)
Luminance0.2669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51DB #51DF55
analogous
#9C51DF #DF51DB #DF5194
triadic
#DF51DB #DBDF51 #51DBDF
tetradic
#DF51DB #DF9C51 #51DF55 #5194DF
square
#DF51DB #DF9C51 #51DF55 #5194DF
split-complementary
#DF51DB #94DF51 #51DF9C
monochromatic
#991C96 #CD26C8 #DF51DB #E985E6 #F2B8F0

Accessibility & contrast

On white

3.31
#DF51DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#DF51DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51DB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51DB#FFFFFF#000000##000000
##DF51DB1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4281DF
Deuteranopia (green-blind)
#7694D7
Tritanopia (blue-blind)
#E6628F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #df51db;
/* rgb */ color: rgb(223, 81, 219);
/* oklch */ color: oklch(67.4% 0.233 328.9);
Tailwind
colors: {
  custom: {
    50: '#ec8ce6',
    500: '#df51db',
    950: '#000000',
  },
}
SCSS
$custom: #df51db;
$custom-light: #ec8ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#df51db",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 301.69,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.67413,
    "c": 0.23313,
    "h": 328.9
  },
  "luminance": 0.26687
}

Semantic roles & 50–950 ramp

primary
#DF51DB
secondary
#AAE1AC
accent
#EC413C
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF51DB

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

Preview Lab → · Contrast checker → · Palette generator →

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