#DC71CC#DC71CC

#DC71CC is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.2% C 0.172 H 333.1°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#DC71CC
RGBrgb(220, 113, 204)
HSLhsl(309, 60%, 65%)
HSVhsv(309, 49%, 86%)
CMYKcmyk(0%, 48.6%, 7.3%, 13.7%)
CIE-LABlab(62.83, 53.67, -28.71)
CIE-LCHlch(62.83, 60.87, 331.85°)
OKLaboklab(70.15% 0.1538 -0.0779)
OKLCHoklch(70.15% 0.172 333.1)
XYZxyz(46.3193, 31.3885, 60.7339)
Luminance0.3139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC71CC #71DC81
analogous
#B671DC #DC71CC #DC7196
triadic
#DC71CC #CCDC71 #71CCDC
tetradic
#DC71CC #DCB671 #71DC81 #7196DC
square
#DC71CC #DCB671 #71DC81 #7196DC
split-complementary
#DC71CC #96DC71 #71DCB6
monochromatic
#A92A96 #D040BA #DC71CC #E8A2DE #F4D3EF

Accessibility & contrast

On white

2.89
#DC71CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#DC71CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC71CC
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC71CC#FFFFFF#000000##000000
##DC71CC1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ECF
Deuteranopia (green-blind)
#8D9EC9
Tritanopia (blue-blind)
#E47895
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #dc71cc;
/* rgb */ color: rgb(220, 113, 204);
/* oklch */ color: oklch(70.2% 0.172 333.1);
Tailwind
colors: {
  custom: {
    50: '#e99ddb',
    500: '#dc71cc',
    950: '#000000',
  },
}
SCSS
$custom: #dc71cc;
$custom-light: #e99ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc71cc",
  "rgb": {
    "r": 220,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 308.972,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70154,
    "c": 0.17246,
    "h": 333.1
  },
  "luminance": 0.31386
}

Semantic roles & 50–950 ramp

primary
#DC71CC
secondary
#C2E6C8
accent
#C8371D
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #DC71CC

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

Preview Lab → · Contrast checker → · Palette generator →

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