#DF57E7#DF57E7

#DF57E7 is a light, highly saturated purple. Relative luminance 0.283; OKLCH L 68.7% C 0.235 H 325.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#DF57E7
RGBrgb(223, 87, 231)
HSLhsl(297, 75%, 62%)
HSVhsv(297, 62%, 91%)
CMYKcmyk(3.5%, 62.3%, 0%, 9.4%)
CIE-LABlab(60.14, 70.72, -48.06)
CIE-LCHlch(60.14, 85.50, 325.80°)
OKLaboklab(68.66% 0.1937 -0.1332)
OKLCHoklch(68.66% 0.235 325.5)
XYZxyz(48.2624, 28.2768, 78.5017)
Luminance0.2827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF57E7 #5FE757
analogous
#9757E7 #DF57E7 #E757A7
triadic
#DF57E7 #E7DF57 #57E7DF
tetradic
#DF57E7 #E79757 #5FE757 #57A7E7
square
#DF57E7 #E79757 #5FE757 #57A7E7
split-complementary
#DF57E7 #A7E757 #57E797
monochromatic
#A318AB #D521DF #DF57E7 #E98DEF #F3C2F6

Accessibility & contrast

On white

3.16
#DF57E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#DF57E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF57E7
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF57E7#FFFFFF#000000##000000
##DF57E71.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F86EB
Deuteranopia (green-blind)
#7397E3
Tritanopia (blue-blind)
#E46C98
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #df57e7;
/* rgb */ color: rgb(223, 87, 231);
/* oklch */ color: oklch(68.7% 0.235 325.5);
Tailwind
colors: {
  custom: {
    50: '#ec8fef',
    500: '#df57e7',
    950: '#000000',
  },
}
SCSS
$custom: #df57e7;
$custom-light: #ec8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#df57e7",
  "rgb": {
    "r": 223,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 296.667,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68658,
    "c": 0.23505,
    "h": 325.5
  },
  "luminance": 0.28274
}

Semantic roles & 50–950 ramp

primary
#DF57E7
secondary
#B6E7B3
accent
#D70E19
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF57E7

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

Preview Lab → · Contrast checker → · Palette generator →

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