#DF54CF#DF54CF

#DF54CF is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.1% C 0.220 H 332.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#DF54CF
RGBrgb(223, 84, 207)
HSLhsl(307, 68%, 60%)
HSVhsv(307, 62%, 87%)
CMYKcmyk(0%, 62.3%, 7.2%, 12.5%)
CIE-LABlab(58.54, 68.00, -37.05)
CIE-LCHlch(58.54, 77.44, 331.42°)
OKLaboklab(67.12% 0.1953 -0.1014)
OKLCHoklch(67.12% 0.22 332.6)
XYZxyz(44.8643, 26.5370, 61.7786)
Luminance0.2653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF54CF #54DF64
analogous
#A954DF #DF54CF #DF548A
triadic
#DF54CF #CFDF54 #54CFDF
tetradic
#DF54CF #DFA954 #54DF64 #548ADF
square
#DF54CF #DFA954 #54DF64 #548ADF
split-complementary
#DF54CF #8ADF54 #54DFA9
monochromatic
#9C1D8D #CF27BC #DF54CF #E988DD #F2BBEC

Accessibility & contrast

On white

3.33
#DF54CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#DF54CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF54CF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF54CF#FFFFFF#000000##000000
##DF54CF1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D3
Deuteranopia (green-blind)
#7D94CB
Tritanopia (blue-blind)
#E8608A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #df54cf;
/* rgb */ color: rgb(223, 84, 207);
/* oklch */ color: oklch(67.1% 0.220 332.6);
Tailwind
colors: {
  custom: {
    50: '#ec8dde',
    500: '#df54cf',
    950: '#000000',
  },
}
SCSS
$custom: #df54cf;
$custom-light: #ec8dde;
$custom-dark: #000000;
JSON
{
  "hex": "#df54cf",
  "rgb": {
    "r": 223,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 306.906,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.67124,
    "c": 0.22001,
    "h": 332.6
  },
  "luminance": 0.26534
}

Semantic roles & 50–950 ramp

primary
#DF54CF
secondary
#ADE2B3
accent
#D02B15
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DF54CF

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

Preview Lab → · Contrast checker → · Palette generator →

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