#DF54D5#DF54D5

#DF54D5 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.4% C 0.225 H 330.7°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#DF54D5
RGBrgb(223, 84, 213)
HSLhsl(304, 68%, 60%)
HSVhsv(304, 62%, 87%)
CMYKcmyk(0%, 62.3%, 4.5%, 12.5%)
CIE-LABlab(58.82, 68.95, -40.01)
CIE-LCHlch(58.82, 79.72, 329.87°)
OKLaboklab(67.42% 0.1959 -0.1099)
OKLCHoklch(67.42% 0.225 330.7)
XYZxyz(45.6118, 26.8360, 65.7154)
Luminance0.2683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF54D5 #54DF5E
analogous
#A454DF #DF54D5 #DF548F
triadic
#DF54D5 #D5DF54 #54D5DF
tetradic
#DF54D5 #DFA454 #54DF5E #548FDF
square
#DF54D5 #DFA454 #54DF5E #548FDF
split-complementary
#DF54D5 #8FDF54 #54DFA4
monochromatic
#9C1D92 #CF27C3 #DF54D5 #E988E2 #F2BBEE

Accessibility & contrast

On white

3.30
#DF54D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#DF54D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF54D5
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF54D5#FFFFFF#000000##000000
##DF54D51.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A81D9
Deuteranopia (green-blind)
#7A94D1
Tritanopia (blue-blind)
#E7628D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #df54d5;
/* rgb */ color: rgb(223, 84, 213);
/* oklch */ color: oklch(67.4% 0.225 330.7);
Tailwind
colors: {
  custom: {
    50: '#ec8de2',
    500: '#df54d5',
    950: '#000000',
  },
}
SCSS
$custom: #df54d5;
$custom-light: #ec8de2;
$custom-dark: #000000;
JSON
{
  "hex": "#df54d5",
  "rgb": {
    "r": 223,
    "g": 84,
    "b": 213
  },
  "hsl": {
    "h": 304.317,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.67418,
    "c": 0.22459,
    "h": 330.7
  },
  "luminance": 0.26833
}

Semantic roles & 50–950 ramp

primary
#DF54D5
secondary
#ADE2B1
accent
#D02315
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DF54D5

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

Preview Lab → · Contrast checker → · Palette generator →

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