#DF54D1#DF54D1

#DF54D1 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.2% C 0.222 H 331.9°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#DF54D1
RGBrgb(223, 84, 209)
HSLhsl(306, 68%, 60%)
HSVhsv(306, 62%, 87%)
CMYKcmyk(0%, 62.3%, 6.3%, 12.5%)
CIE-LABlab(58.64, 68.31, -38.04)
CIE-LCHlch(58.64, 78.19, 330.89°)
OKLaboklab(67.22% 0.1955 -0.1042)
OKLCHoklch(67.22% 0.222 331.9)
XYZxyz(45.1103, 26.6354, 63.0745)
Luminance0.2663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF54D1 #54DF62
analogous
#A754DF #DF54D1 #DF548C
triadic
#DF54D1 #D1DF54 #54D1DF
tetradic
#DF54D1 #DFA754 #54DF62 #548CDF
square
#DF54D1 #DFA754 #54DF62 #548CDF
split-complementary
#DF54D1 #8CDF54 #54DFA7
monochromatic
#9C1D8F #CF27BE #DF54D1 #E988DF #F2BBED

Accessibility & contrast

On white

3.32
#DF54D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#DF54D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF54D1
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF54D1#FFFFFF#000000##000000
##DF54D11.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D80D5
Deuteranopia (green-blind)
#7C94CD
Tritanopia (blue-blind)
#E8618B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #df54d1;
/* rgb */ color: rgb(223, 84, 209);
/* oklch */ color: oklch(67.2% 0.222 331.9);
Tailwind
colors: {
  custom: {
    50: '#ec8ddf',
    500: '#df54d1',
    950: '#000000',
  },
}
SCSS
$custom: #df54d1;
$custom-light: #ec8ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#df54d1",
  "rgb": {
    "r": 223,
    "g": 84,
    "b": 209
  },
  "hsl": {
    "h": 306.043,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.67221,
    "c": 0.22153,
    "h": 331.9
  },
  "luminance": 0.26632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF54D1

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

Preview Lab → · Contrast checker → · Palette generator →

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