#DF51D7#DF51D7

#DF51D7 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.2% C 0.230 H 330.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#DF51D7
RGBrgb(223, 81, 215)
HSLhsl(303, 69%, 60%)
HSVhsv(303, 64%, 87%)
CMYKcmyk(0%, 63.7%, 3.6%, 12.5%)
CIE-LABlab(58.49, 70.45, -41.66)
CIE-LCHlch(58.49, 81.85, 329.40°)
OKLaboklab(67.21% 0.1994 -0.1146)
OKLCHoklch(67.21% 0.23 330.1)
XYZxyz(45.6393, 26.4824, 66.9846)
Luminance0.2648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51D7 #51DF59
analogous
#A051DF #DF51D7 #DF5190
triadic
#DF51D7 #D7DF51 #51D7DF
tetradic
#DF51D7 #DFA051 #51DF59 #5190DF
square
#DF51D7 #DFA051 #51DF59 #5190DF
split-complementary
#DF51D7 #90DF51 #51DFA0
monochromatic
#991C92 #CD26C4 #DF51D7 #E985E3 #F2B8EF

Accessibility & contrast

On white

3.34
#DF51D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#DF51D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51D7
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51D7#FFFFFF#000000##000000
##DF51D71.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4580DB
Deuteranopia (green-blind)
#7894D3
Tritanopia (blue-blind)
#E7618D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #df51d7;
/* rgb */ color: rgb(223, 81, 215);
/* oklch */ color: oklch(67.2% 0.230 330.1);
Tailwind
colors: {
  custom: {
    50: '#ec8ce4',
    500: '#df51d7',
    950: '#000000',
  },
}
SCSS
$custom: #df51d7;
$custom-light: #ec8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#df51d7",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 303.38,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.67209,
    "c": 0.23003,
    "h": 330.1
  },
  "luminance": 0.26479
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF51D7

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

Preview Lab → · Contrast checker → · Palette generator →

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