#DF51E8#DF51E8

#DF51E8 is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 68.1% C 0.243 H 325.3°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#DF51E8
RGBrgb(223, 81, 232)
HSLhsl(296, 77%, 61%)
HSVhsv(296, 65%, 91%)
CMYKcmyk(3.9%, 65.1%, 0%, 9%)
CIE-LABlab(59.34, 73.24, -49.88)
CIE-LCHlch(59.34, 88.61, 325.74°)
OKLaboklab(68.1% 0.2003 -0.1384)
OKLCHoklch(68.1% 0.243 325.3)
XYZxyz(47.9383, 27.4020, 79.0924)
Luminance0.2740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51E8 #5AE851
analogous
#9451E8 #DF51E8 #E851A6
triadic
#DF51E8 #E8DF51 #51E8DF
tetradic
#DF51E8 #E89451 #5AE851 #51A6E8
square
#DF51E8 #E89451 #5AE851 #51A6E8
split-complementary
#DF51E8 #A6E851 #51E894
monochromatic
#A016A8 #D31DDE #DF51E8 #E987EF #F3BDF6

Accessibility & contrast

On white

3.24
#DF51E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#DF51E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51E8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51E8#FFFFFF#000000##000000
##DF51E81.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3384EC
Deuteranopia (green-blind)
#6F95E4
Tritanopia (blue-blind)
#E46896
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #df51e8;
/* rgb */ color: rgb(223, 81, 232);
/* oklch */ color: oklch(68.1% 0.243 325.3);
Tailwind
colors: {
  custom: {
    50: '#ed8cf0',
    500: '#df51e8',
    950: '#000000',
  },
}
SCSS
$custom: #df51e8;
$custom-light: #ed8cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#df51e8",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 296.424,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.68102,
    "c": 0.24345,
    "h": 325.3
  },
  "luminance": 0.27399
}

Semantic roles & 50–950 ramp

primary
#DF51E8
secondary
#B2E7AE
accent
#D90D19
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF51E8

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

Preview Lab → · Contrast checker → · Palette generator →

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