#DF51D8#DF51D8

#DF51D8 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.3% C 0.231 H 329.8°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#DF51D8
RGBrgb(223, 81, 216)
HSLhsl(303, 69%, 60%)
HSVhsv(303, 64%, 87%)
CMYKcmyk(0%, 63.7%, 3.1%, 12.5%)
CIE-LABlab(58.54, 70.61, -42.15)
CIE-LCHlch(58.54, 82.23, 329.16°)
OKLaboklab(67.26% 0.1995 -0.116)
OKLCHoklch(67.26% 0.231 329.8)
XYZxyz(45.7682, 26.5340, 67.6634)
Luminance0.2653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51D8 #51DF58
analogous
#9F51DF #DF51D8 #DF5191
triadic
#DF51D8 #D8DF51 #51D8DF
tetradic
#DF51D8 #DF9F51 #51DF58 #5191DF
square
#DF51D8 #DF9F51 #51DF58 #5191DF
split-complementary
#DF51D8 #91DF51 #51DF9F
monochromatic
#991C93 #CD26C5 #DF51D8 #E985E4 #F2B8EF

Accessibility & contrast

On white

3.33
#DF51D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#DF51D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51D8
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51D8#FFFFFF#000000##000000
##DF51D81.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4480DC
Deuteranopia (green-blind)
#7794D4
Tritanopia (blue-blind)
#E7618E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #df51d8;
/* rgb */ color: rgb(223, 81, 216);
/* oklch */ color: oklch(67.3% 0.231 329.8);
Tailwind
colors: {
  custom: {
    50: '#ec8ce4',
    500: '#df51d8',
    950: '#000000',
  },
}
SCSS
$custom: #df51d8;
$custom-light: #ec8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#df51d8",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 302.958,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6726,
    "c": 0.2308,
    "h": 329.8
  },
  "luminance": 0.26531
}

Semantic roles & 50–950 ramp

primary
#DF51D8
secondary
#AAE1AD
accent
#EC453C
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D15
muted
#857E84

Preview Lab

Preview with #DF51D8

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

Preview Lab → · Contrast checker → · Palette generator →

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