#DF54D9#DF54D9

#DF54D9 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.6% C 0.228 H 329.5°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#DF54D9
RGBrgb(223, 84, 217)
HSLhsl(303, 68%, 60%)
HSVhsv(303, 62%, 87%)
CMYKcmyk(0%, 62.3%, 2.7%, 12.5%)
CIE-LABlab(59.01, 69.59, -41.97)
CIE-LCHlch(59.01, 81.27, 328.90°)
OKLaboklab(67.62% 0.1962 -0.1156)
OKLCHoklch(67.62% 0.228 329.5)
XYZxyz(46.1257, 27.0416, 68.4223)
Luminance0.2704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF54D9 #54DF5A
analogous
#9F54DF #DF54D9 #DF5493
triadic
#DF54D9 #D9DF54 #54D9DF
tetradic
#DF54D9 #DF9F54 #54DF5A #5493DF
square
#DF54D9 #DF9F54 #54DF5A #5493DF
split-complementary
#DF54D9 #93DF54 #54DF9F
monochromatic
#9C1D96 #CF27C8 #DF54D9 #E988E4 #F2BBF0

Accessibility & contrast

On white

3.28
#DF54D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#DF54D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF54D9
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF54D9#FFFFFF#000000##000000
##DF54D91.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4782DD
Deuteranopia (green-blind)
#7895D5
Tritanopia (blue-blind)
#E7648F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #df54d9;
/* rgb */ color: rgb(223, 84, 217);
/* oklch */ color: oklch(67.6% 0.228 329.5);
Tailwind
colors: {
  custom: {
    50: '#ec8de5',
    500: '#df54d9',
    950: '#000000',
  },
}
SCSS
$custom: #df54d9;
$custom-light: #ec8de5;
$custom-dark: #000000;
JSON
{
  "hex": "#df54d9",
  "rgb": {
    "r": 223,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 302.59,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.67618,
    "c": 0.22771,
    "h": 329.5
  },
  "luminance": 0.27038
}

Semantic roles & 50–950 ramp

primary
#DF54D9
secondary
#ADE2AF
accent
#D01D15
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF54D9

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

Preview Lab → · Contrast checker → · Palette generator →

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