#DF54D7#DF54D7

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

Color values

HEX#DF54D7
RGBrgb(223, 84, 215)
HSLhsl(303, 68%, 60%)
HSVhsv(303, 62%, 87%)
CMYKcmyk(0%, 62.3%, 3.6%, 12.5%)
CIE-LABlab(58.92, 69.27, -41.00)
CIE-LCHlch(58.92, 80.49, 329.38°)
OKLaboklab(67.52% 0.196 -0.1127)
OKLCHoklch(67.52% 0.226 330.1)
XYZxyz(45.8672, 26.9382, 67.0606)
Luminance0.2693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF54D7 #54DF5C
analogous
#A154DF #DF54D7 #DF5492
triadic
#DF54D7 #D7DF54 #54D7DF
tetradic
#DF54D7 #DFA154 #54DF5C #5492DF
square
#DF54D7 #DFA154 #54DF5C #5492DF
split-complementary
#DF54D7 #92DF54 #54DFA1
monochromatic
#9C1D94 #CF27C5 #DF54D7 #E988E3 #F2BBEF

Accessibility & contrast

On white

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

On black

6.39
#DF54D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF54D7
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF54D7#FFFFFF#000000##000000
##DF54D71.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4982DB
Deuteranopia (green-blind)
#7995D3
Tritanopia (blue-blind)
#E7638E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #df54d7;
/* rgb */ color: rgb(223, 84, 215);
/* oklch */ color: oklch(67.5% 0.226 330.1);
Tailwind
colors: {
  custom: {
    50: '#ec8de4',
    500: '#df54d7',
    950: '#000000',
  },
}
SCSS
$custom: #df54d7;
$custom-light: #ec8de4;
$custom-dark: #000000;
JSON
{
  "hex": "#df54d7",
  "rgb": {
    "r": 223,
    "g": 84,
    "b": 215
  },
  "hsl": {
    "h": 303.453,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.67517,
    "c": 0.22615,
    "h": 330.1
  },
  "luminance": 0.26935
}

Semantic roles & 50–950 ramp

primary
#DF54D7
secondary
#ADE2B0
accent
#D02015
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D15
muted
#857E84

Preview Lab

Preview with #DF54D7

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

Preview Lab → · Contrast checker → · Palette generator →

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