#DF51E1#DF51E1

#DF51E1 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.7% C 0.238 H 327.2°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#DF51E1
RGBrgb(223, 81, 225)
HSLhsl(299, 71%, 60%)
HSVhsv(299, 64%, 88%)
CMYKcmyk(0.9%, 64%, 0%, 11.8%)
CIE-LABlab(58.99, 72.07, -46.52)
CIE-LCHlch(58.99, 85.78, 327.16°)
OKLaboklab(67.73% 0.2 -0.1287)
OKLCHoklch(67.73% 0.238 327.2)
XYZxyz(46.9637, 27.0122, 73.9598)
Luminance0.2701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51E1 #53E151
analogous
#9751E1 #DF51E1 #E1519B
triadic
#DF51E1 #E1DF51 #51E1DF
tetradic
#DF51E1 #E19751 #53E151 #519BE1
square
#DF51E1 #E19751 #53E151 #519BE1
split-complementary
#DF51E1 #9BE151 #51E197
monochromatic
#9B1B9D #CE24D1 #DF51E1 #E985EA #F2B9F3

Accessibility & contrast

On white

3.28
#DF51E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#DF51E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51E1
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51E1#FFFFFF#000000##000000
##DF51E11.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C82E5
Deuteranopia (green-blind)
#7394DD
Tritanopia (blue-blind)
#E56592
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #df51e1;
/* rgb */ color: rgb(223, 81, 225);
/* oklch */ color: oklch(67.7% 0.238 327.2);
Tailwind
colors: {
  custom: {
    50: '#ed8ceb',
    500: '#df51e1',
    950: '#000000',
  },
}
SCSS
$custom: #df51e1;
$custom-light: #ed8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#df51e1",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 299.167,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.67726,
    "c": 0.23784,
    "h": 327.2
  },
  "luminance": 0.27009
}

Semantic roles & 50–950 ramp

primary
#DF51E1
secondary
#ACE3AB
accent
#ED3A3D
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF51E1

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

Preview Lab → · Contrast checker → · Palette generator →

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