#DF51E7#DF51E7

#DF51E7 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 68.0% C 0.243 H 325.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#DF51E7
RGBrgb(223, 81, 231)
HSLhsl(297, 76%, 61%)
HSVhsv(297, 65%, 91%)
CMYKcmyk(3.5%, 64.9%, 0%, 9.4%)
CIE-LABlab(59.29, 73.07, -49.40)
CIE-LCHlch(59.29, 88.21, 325.94°)
OKLaboklab(68.05% 0.2002 -0.137)
OKLCHoklch(68.05% 0.243 325.6)
XYZxyz(47.7966, 27.3453, 78.3465)
Luminance0.2734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51E7 #59E751
analogous
#9451E7 #DF51E7 #E751A4
triadic
#DF51E7 #E7DF51 #51E7DF
tetradic
#DF51E7 #E79451 #59E751 #51A4E7
square
#DF51E7 #E79451 #59E751 #51A4E7
split-complementary
#DF51E7 #A4E751 #51E794
monochromatic
#9F17A7 #D21EDC #DF51E7 #E987EE #F3BDF6

Accessibility & contrast

On white

3.25
#DF51E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#DF51E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51E7
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51E7#FFFFFF#000000##000000
##DF51E71.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3583EB
Deuteranopia (green-blind)
#6F95E3
Tritanopia (blue-blind)
#E46796
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #df51e7;
/* rgb */ color: rgb(223, 81, 231);
/* oklch */ color: oklch(68.0% 0.243 325.6);
Tailwind
colors: {
  custom: {
    50: '#ed8cef',
    500: '#df51e7',
    950: '#000000',
  },
}
SCSS
$custom: #df51e7;
$custom-light: #ed8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#df51e7",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 296.8,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.68047,
    "c": 0.24263,
    "h": 325.6
  },
  "luminance": 0.27342
}

Semantic roles & 50–950 ramp

primary
#DF51E7
secondary
#B1E6AE
accent
#D80E18
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF51E7

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

Preview Lab → · Contrast checker → · Palette generator →

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