#DC71CB#DC71CB

#DC71CB is a light, vivid purple. Relative luminance 0.313; OKLCH L 70.1% C 0.172 H 333.5°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#DC71CB
RGBrgb(220, 113, 203)
HSLhsl(310, 60%, 65%)
HSVhsv(310, 49%, 86%)
CMYKcmyk(0%, 48.6%, 7.7%, 13.7%)
CIE-LABlab(62.79, 53.50, -28.21)
CIE-LCHlch(62.79, 60.48, 332.20°)
OKLaboklab(70.11% 0.1536 -0.0765)
OKLCHoklch(70.11% 0.172 333.5)
XYZxyz(46.1997, 31.3406, 60.1043)
Luminance0.3134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC71CB #71DC82
analogous
#B871DC #DC71CB #DC7195
triadic
#DC71CB #CBDC71 #71CBDC
tetradic
#DC71CB #DCB871 #71DC82 #7195DC
square
#DC71CB #DCB871 #71DC82 #7195DC
split-complementary
#DC71CB #95DC71 #71DCB8
monochromatic
#A92A95 #D040B9 #DC71CB #E8A2DD #F4D3EF

Accessibility & contrast

On white

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

On black

7.27
#DC71CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC71CB
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC71CB#FFFFFF#000000##000000
##DC71CB1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ECE
Deuteranopia (green-blind)
#8E9EC8
Tritanopia (blue-blind)
#E47795
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #dc71cb;
/* rgb */ color: rgb(220, 113, 203);
/* oklch */ color: oklch(70.1% 0.172 333.5);
Tailwind
colors: {
  custom: {
    50: '#e99ddb',
    500: '#dc71cb',
    950: '#000000',
  },
}
SCSS
$custom: #dc71cb;
$custom-light: #e99ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc71cb",
  "rgb": {
    "r": 220,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 309.533,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70112,
    "c": 0.17163,
    "h": 333.5
  },
  "luminance": 0.31338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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