#DF51F2#DF51F2

#DF51F2 is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.7% C 0.252 H 322.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#DF51F2
RGBrgb(223, 81, 242)
HSLhsl(293, 86%, 63%)
HSVhsv(293, 67%, 95%)
CMYKcmyk(7.9%, 66.5%, 0%, 5.1%)
CIE-LABlab(59.88, 74.95, -54.62)
CIE-LCHlch(59.88, 92.74, 323.92°)
OKLaboklab(68.66% 0.2003 -0.1522)
OKLCHoklch(68.66% 0.252 322.8)
XYZxyz(49.3993, 27.9864, 86.7871)
Luminance0.2798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51F2 #64F251
analogous
#8E51F2 #DF51F2 #F251B4
triadic
#DF51F2 #F2DF51 #51F2DF
tetradic
#DF51F2 #F28E51 #64F251 #51B4F2
square
#DF51F2 #F28E51 #64F251 #51B4F2
split-complementary
#DF51F2 #B4F251 #51F28E
monochromatic
#A60EBB #D518EE #DF51F2 #E98AF6 #F4C3FB

Accessibility & contrast

On white

3.18
#DF51F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#DF51F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51F2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51F2#FFFFFF#000000##000000
##DF51F21.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2386F7
Deuteranopia (green-blind)
#6896EE
Tritanopia (blue-blind)
#E26C9C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #df51f2;
/* rgb */ color: rgb(223, 81, 242);
/* oklch */ color: oklch(68.7% 0.252 322.8);
Tailwind
colors: {
  custom: {
    50: '#ed8cf7',
    500: '#df51f2',
    950: '#000000',
  },
}
SCSS
$custom: #df51f2;
$custom-light: #ed8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#df51f2",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 292.919,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68656,
    "c": 0.25157,
    "h": 322.8
  },
  "luminance": 0.27984
}

Semantic roles & 50–950 ramp

primary
#DF51F2
secondary
#B9ECB3
accent
#E3031D
background
#FFF9FF
surface
#FEF1FF
border
#D6CBD7
text
#170D17
muted
#857E85

Preview Lab

Preview with #DF51F2

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

Preview Lab → · Contrast checker → · Palette generator →

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