#DF54D3#DF54D3

#DF54D3 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.3% C 0.223 H 331.3°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#DF54D3
RGBrgb(223, 84, 211)
HSLhsl(305, 68%, 60%)
HSVhsv(305, 62%, 87%)
CMYKcmyk(0%, 62.3%, 5.4%, 12.5%)
CIE-LABlab(58.73, 68.63, -39.03)
CIE-LCHlch(58.73, 78.95, 330.37°)
OKLaboklab(67.32% 0.1957 -0.1071)
OKLCHoklch(67.32% 0.223 331.3)
XYZxyz(45.3595, 26.7351, 64.3867)
Luminance0.2673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF54D3 #54DF60
analogous
#A654DF #DF54D3 #DF548D
triadic
#DF54D3 #D3DF54 #54D3DF
tetradic
#DF54D3 #DFA654 #54DF60 #548DDF
square
#DF54D3 #DFA654 #54DF60 #548DDF
split-complementary
#DF54D3 #8DDF54 #54DFA6
monochromatic
#9C1D91 #CF27C1 #DF54D3 #E988E0 #F2BBEE

Accessibility & contrast

On white

3.31
#DF54D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#DF54D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF54D3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF54D3#FFFFFF#000000##000000
##DF54D31.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C81D7
Deuteranopia (green-blind)
#7B94CF
Tritanopia (blue-blind)
#E8618C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #df54d3;
/* rgb */ color: rgb(223, 84, 211);
/* oklch */ color: oklch(67.3% 0.223 331.3);
Tailwind
colors: {
  custom: {
    50: '#ec8de1',
    500: '#df54d3',
    950: '#000000',
  },
}
SCSS
$custom: #df54d3;
$custom-light: #ec8de1;
$custom-dark: #000000;
JSON
{
  "hex": "#df54d3",
  "rgb": {
    "r": 223,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 305.18,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.67319,
    "c": 0.22305,
    "h": 331.3
  },
  "luminance": 0.26732
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF54D3

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

Preview Lab → · Contrast checker → · Palette generator →

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