#DC71D2#DC71D2

#DC71D2 is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.4% C 0.177 H 330.9°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#DC71D2
RGBrgb(220, 113, 210)
HSLhsl(306, 60%, 65%)
HSVhsv(306, 49%, 86%)
CMYKcmyk(0%, 48.6%, 4.5%, 13.7%)
CIE-LABlab(63.08, 54.68, -31.71)
CIE-LCHlch(63.08, 63.21, 329.89°)
OKLaboklab(70.42% 0.155 -0.0864)
OKLCHoklch(70.42% 0.177 330.9)
XYZxyz(47.0528, 31.6819, 64.5971)
Luminance0.3168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC71D2 #71DC7B
analogous
#B071DC #DC71D2 #DC719D
triadic
#DC71D2 #D2DC71 #71D2DC
tetradic
#DC71D2 #DCB071 #71DC7B #719DDC
square
#DC71D2 #DCB071 #71DC7B #719DDC
split-complementary
#DC71D2 #9DDC71 #71DCB0
monochromatic
#A92A9D #D040C2 #DC71D2 #E8A2E2 #F4D3F1

Accessibility & contrast

On white

2.86
#DC71D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#DC71D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC71D2
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC71D2#FFFFFF#000000##000000
##DC71D21.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8FD5
Deuteranopia (green-blind)
#8B9ECF
Tritanopia (blue-blind)
#E37998
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #dc71d2;
/* rgb */ color: rgb(220, 113, 210);
/* oklch */ color: oklch(70.4% 0.177 330.9);
Tailwind
colors: {
  custom: {
    50: '#e99de0',
    500: '#dc71d2',
    950: '#000000',
  },
}
SCSS
$custom: #dc71d2;
$custom-light: #e99de0;
$custom-dark: #000000;
JSON
{
  "hex": "#dc71d2",
  "rgb": {
    "r": 220,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 305.607,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70417,
    "c": 0.17748,
    "h": 330.9
  },
  "luminance": 0.31679
}

Semantic roles & 50–950 ramp

primary
#DC71D2
secondary
#C2E6C6
accent
#C82D1D
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #DC71D2

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

Preview Lab → · Contrast checker → · Palette generator →

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