#DF57D2#DF57D2

#DF57D2 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.6% C 0.218 H 331.6°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#DF57D2
RGBrgb(223, 87, 210)
HSLhsl(306, 68%, 61%)
HSVhsv(306, 61%, 87%)
CMYKcmyk(0%, 61%, 5.8%, 12.5%)
CIE-LABlab(59.12, 67.25, -37.84)
CIE-LCHlch(59.12, 77.17, 330.63°)
OKLaboklab(67.59% 0.1921 -0.1037)
OKLCHoklch(67.59% 0.218 331.6)
XYZxyz(45.4724, 27.1608, 63.8078)
Luminance0.2716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF57D2 #57DF64
analogous
#A857DF #DF57D2 #DF578E
triadic
#DF57D2 #D2DF57 #57D2DF
tetradic
#DF57D2 #DFA857 #57DF64 #578EDF
square
#DF57D2 #DFA857 #57DF64 #578EDF
split-complementary
#DF57D2 #8EDF57 #57DFA8
monochromatic
#9E1E91 #D128C1 #DF57D2 #E98AE0 #F3BEEE

Accessibility & contrast

On white

3.27
#DF57D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#DF57D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF57D2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF57D2#FFFFFF#000000##000000
##DF57D21.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5082D6
Deuteranopia (green-blind)
#7D95CE
Tritanopia (blue-blind)
#E8638D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #df57d2;
/* rgb */ color: rgb(223, 87, 210);
/* oklch */ color: oklch(67.6% 0.218 331.6);
Tailwind
colors: {
  custom: {
    50: '#ec8fe0',
    500: '#df57d2',
    950: '#000000',
  },
}
SCSS
$custom: #df57d2;
$custom-light: #ec8fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#df57d2",
  "rgb": {
    "r": 223,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 305.735,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.67591,
    "c": 0.21826,
    "h": 331.6
  },
  "luminance": 0.27158
}

Semantic roles & 50–950 ramp

primary
#DF57D2
secondary
#AFE3B4
accent
#D02716
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DF57D2

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

Preview Lab → · Contrast checker → · Palette generator →

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