#DF71CF#DF71CF

#DF71CF is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.7% C 0.177 H 333.0°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#DF71CF
RGBrgb(223, 113, 207)
HSLhsl(309, 63%, 66%)
HSVhsv(309, 49%, 87%)
CMYKcmyk(0%, 49.3%, 7.2%, 12.5%)
CIE-LABlab(63.35, 55.04, -29.58)
CIE-LCHlch(63.35, 62.49, 331.75°)
OKLaboklab(70.66% 0.1577 -0.0803)
OKLCHoklch(70.66% 0.177 333)
XYZxyz(47.5989, 32.0063, 62.6901)
Luminance0.3200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71CF #71DF81
analogous
#B871DF #DF71CF #DF7198
triadic
#DF71CF #CFDF71 #71CFDF
tetradic
#DF71CF #DFB871 #71DF81 #7198DF
square
#DF71CF #DFB871 #71DF81 #7198DF
split-complementary
#DF71CF #98DF71 #71DFB8
monochromatic
#AE279B #D43FBE #DF71CF #EAA3E0 #F6D5F1

Accessibility & contrast

On white

2.84
#DF71CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#DF71CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71CF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71CF#FFFFFF#000000##000000
##DF71CF1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8FD2
Deuteranopia (green-blind)
#8E9FCC
Tritanopia (blue-blind)
#E77897
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #df71cf;
/* rgb */ color: rgb(223, 113, 207);
/* oklch */ color: oklch(70.7% 0.177 333.0);
Tailwind
colors: {
  custom: {
    50: '#eb9ede',
    500: '#df71cf',
    950: '#000000',
  },
}
SCSS
$custom: #df71cf;
$custom-light: #eb9ede;
$custom-dark: #000000;
JSON
{
  "hex": "#df71cf",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 308.727,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70658,
    "c": 0.17702,
    "h": 333
  },
  "luminance": 0.32003
}

Semantic roles & 50–950 ramp

primary
#DF71CF
secondary
#C4E8C9
accent
#CB341B
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #DF71CF

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

Preview Lab → · Contrast checker → · Palette generator →

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