#DF54DB#DF54DB

#DF54DB is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.7% C 0.229 H 328.9°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#DF54DB
RGBrgb(223, 84, 219)
HSLhsl(302, 68%, 60%)
HSVhsv(302, 62%, 87%)
CMYKcmyk(0%, 62.3%, 1.8%, 12.5%)
CIE-LABlab(59.11, 69.91, -42.95)
CIE-LCHlch(59.11, 82.05, 328.44°)
OKLaboklab(67.72% 0.1964 -0.1184)
OKLCHoklch(67.72% 0.229 328.9)
XYZxyz(46.3875, 27.1463, 69.8006)
Luminance0.2714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF54DB #54DF58
analogous
#9E54DF #DF54DB #DF5495
triadic
#DF54DB #DBDF54 #54DBDF
tetradic
#DF54DB #DF9E54 #54DF58 #5495DF
square
#DF54DB #DF9E54 #54DF58 #5495DF
split-complementary
#DF54DB #95DF54 #54DF9E
monochromatic
#9C1D98 #CF27CA #DF54DB #E988E6 #F2BBF1

Accessibility & contrast

On white

3.27
#DF54DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#DF54DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF54DB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF54DB#FFFFFF#000000##000000
##DF54DB1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4682DF
Deuteranopia (green-blind)
#7795D7
Tritanopia (blue-blind)
#E66590
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #df54db;
/* rgb */ color: rgb(223, 84, 219);
/* oklch */ color: oklch(67.7% 0.229 328.9);
Tailwind
colors: {
  custom: {
    50: '#ec8de6',
    500: '#df54db',
    950: '#000000',
  },
}
SCSS
$custom: #df54db;
$custom-light: #ec8de6;
$custom-dark: #000000;
JSON
{
  "hex": "#df54db",
  "rgb": {
    "r": 223,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 301.727,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6772,
    "c": 0.22928,
    "h": 328.9
  },
  "luminance": 0.27143
}

Semantic roles & 50–950 ramp

primary
#DF54DB
secondary
#ADE2AE
accent
#D01A15
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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