#DF54D6#DF54D6

#DF54D6 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.5% C 0.225 H 330.4°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#DF54D6
RGBrgb(223, 84, 214)
HSLhsl(304, 68%, 60%)
HSVhsv(304, 62%, 87%)
CMYKcmyk(0%, 62.3%, 4%, 12.5%)
CIE-LABlab(58.87, 69.11, -40.51)
CIE-LCHlch(58.87, 80.10, 329.62°)
OKLaboklab(67.47% 0.196 -0.1113)
OKLCHoklch(67.47% 0.225 330.4)
XYZxyz(45.7391, 26.8869, 66.3859)
Luminance0.2688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF54D6 #54DF5D
analogous
#A354DF #DF54D6 #DF5490
triadic
#DF54D6 #D6DF54 #54D6DF
tetradic
#DF54D6 #DFA354 #54DF5D #5490DF
square
#DF54D6 #DFA354 #54DF5D #5490DF
split-complementary
#DF54D6 #90DF54 #54DFA3
monochromatic
#9C1D93 #CF27C4 #DF54D6 #E988E2 #F2BBEF

Accessibility & contrast

On white

3.29
#DF54D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#DF54D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF54D6
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF54D6#FFFFFF#000000##000000
##DF54D61.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A81DA
Deuteranopia (green-blind)
#7A94D2
Tritanopia (blue-blind)
#E7638E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #df54d6;
/* rgb */ color: rgb(223, 84, 214);
/* oklch */ color: oklch(67.5% 0.225 330.4);
Tailwind
colors: {
  custom: {
    50: '#ec8de3',
    500: '#df54d6',
    950: '#000000',
  },
}
SCSS
$custom: #df54d6;
$custom-light: #ec8de3;
$custom-dark: #000000;
JSON
{
  "hex": "#df54d6",
  "rgb": {
    "r": 223,
    "g": 84,
    "b": 214
  },
  "hsl": {
    "h": 303.885,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.67467,
    "c": 0.22537,
    "h": 330.4
  },
  "luminance": 0.26884
}

Semantic roles & 50–950 ramp

primary
#DF54D6
secondary
#ADE2B0
accent
#D02115
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DF54D6

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

Preview Lab → · Contrast checker → · Palette generator →

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