#DF54D2#DF54D2

#DF54D2 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.3% C 0.222 H 331.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#DF54D2
RGBrgb(223, 84, 210)
HSLhsl(306, 68%, 60%)
HSVhsv(306, 62%, 87%)
CMYKcmyk(0%, 62.3%, 5.8%, 12.5%)
CIE-LABlab(58.68, 68.47, -38.54)
CIE-LCHlch(58.68, 78.57, 330.63°)
OKLaboklab(67.27% 0.1956 -0.1057)
OKLCHoklch(67.27% 0.222 331.6)
XYZxyz(45.2345, 26.6851, 63.7285)
Luminance0.2668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF54D2 #54DF61
analogous
#A754DF #DF54D2 #DF548C
triadic
#DF54D2 #D2DF54 #54D2DF
tetradic
#DF54D2 #DFA754 #54DF61 #548CDF
square
#DF54D2 #DFA754 #54DF61 #548CDF
split-complementary
#DF54D2 #8CDF54 #54DFA7
monochromatic
#9C1D90 #CF27BF #DF54D2 #E988E0 #F2BBED

Accessibility & contrast

On white

3.31
#DF54D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#DF54D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF54D2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF54D2#FFFFFF#000000##000000
##DF54D21.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D81D6
Deuteranopia (green-blind)
#7C94CE
Tritanopia (blue-blind)
#E8618C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #df54d2;
/* rgb */ color: rgb(223, 84, 210);
/* oklch */ color: oklch(67.3% 0.222 331.6);
Tailwind
colors: {
  custom: {
    50: '#ec8de0',
    500: '#df54d2',
    950: '#000000',
  },
}
SCSS
$custom: #df54d2;
$custom-light: #ec8de0;
$custom-dark: #000000;
JSON
{
  "hex": "#df54d2",
  "rgb": {
    "r": 223,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 305.612,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6727,
    "c": 0.22229,
    "h": 331.6
  },
  "luminance": 0.26682
}

Semantic roles & 50–950 ramp

primary
#DF54D2
secondary
#ADE2B2
accent
#D02715
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DF54D2

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

Preview Lab → · Contrast checker → · Palette generator →

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