#DF54CB#DF54CB

#DF54CB is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.9% C 0.217 H 333.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#DF54CB
RGBrgb(223, 84, 203)
HSLhsl(309, 68%, 60%)
HSVhsv(309, 62%, 87%)
CMYKcmyk(0%, 62.3%, 9%, 12.5%)
CIE-LABlab(58.36, 67.38, -35.06)
CIE-LCHlch(58.36, 75.95, 332.51°)
OKLaboklab(66.93% 0.1948 -0.0957)
OKLCHoklch(66.93% 0.217 333.8)
XYZxyz(44.3815, 26.3439, 59.2357)
Luminance0.2634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF54CB #54DF68
analogous
#AD54DF #DF54CB #DF5485
triadic
#DF54CB #CBDF54 #54CBDF
tetradic
#DF54CB #DFAD54 #54DF68 #5485DF
square
#DF54CB #DFAD54 #54DF68 #5485DF
split-complementary
#DF54CB #85DF54 #54DFAD
monochromatic
#9C1D89 #CF27B7 #DF54CB #E988DB #F2BBEA

Accessibility & contrast

On white

3.35
#DF54CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#DF54CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF54CB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF54CB#FFFFFF#000000##000000
##DF54CB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCF
Deuteranopia (green-blind)
#7F94C7
Tritanopia (blue-blind)
#E95E88
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #df54cb;
/* rgb */ color: rgb(223, 84, 203);
/* oklch */ color: oklch(66.9% 0.217 333.8);
Tailwind
colors: {
  custom: {
    50: '#ec8ddb',
    500: '#df54cb',
    950: '#000000',
  },
}
SCSS
$custom: #df54cb;
$custom-light: #ec8ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#df54cb",
  "rgb": {
    "r": 223,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 308.633,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66933,
    "c": 0.21702,
    "h": 333.8
  },
  "luminance": 0.2634
}

Semantic roles & 50–950 ramp

primary
#DF54CB
secondary
#ADE2B4
accent
#D03015
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DF54CB

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

Preview Lab → · Contrast checker → · Palette generator →

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