#DC71E2#DC71E2

#DC71E2 is a light, vivid purple. Relative luminance 0.325; OKLCH L 71.2% C 0.192 H 325.3°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#DC71E2
RGBrgb(220, 113, 226)
HSLhsl(297, 66%, 66%)
HSVhsv(297, 50%, 89%)
CMYKcmyk(2.7%, 50%, 0%, 11.4%)
CIE-LABlab(63.77, 57.48, -39.58)
CIE-LCHlch(63.77, 69.79, 325.45°)
OKLaboklab(71.15% 0.1576 -0.109)
OKLCHoklch(71.15% 0.192 325.3)
XYZxyz(49.1467, 32.5194, 75.6249)
Luminance0.3252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC71E2 #77E271
analogous
#A471E2 #DC71E2 #E271B0
triadic
#DC71E2 #E2DC71 #71E2DC
tetradic
#DC71E2 #E2A471 #77E271 #71B0E2
square
#DC71E2 #E2A471 #77E271 #71B0E2
split-complementary
#DC71E2 #B0E271 #71E2A4
monochromatic
#AC25B4 #CF3ED8 #DC71E2 #E9A4EC #F5D7F7

Accessibility & contrast

On white

2.80
#DC71E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#DC71E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC71E2
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC71E2#FFFFFF#000000##000000
##DC71E21.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6492E6
Deuteranopia (green-blind)
#849FDF
Tritanopia (blue-blind)
#E17E9F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #dc71e2;
/* rgb */ color: rgb(220, 113, 226);
/* oklch */ color: oklch(71.2% 0.192 325.3);
Tailwind
colors: {
  custom: {
    50: '#e99eeb',
    500: '#dc71e2',
    950: '#000000',
  },
}
SCSS
$custom: #dc71e2;
$custom-light: #e99eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc71e2",
  "rgb": {
    "r": 220,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 296.814,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71154,
    "c": 0.19163,
    "h": 325.3
  },
  "luminance": 0.32517
}

Semantic roles & 50–950 ramp

primary
#DC71E2
secondary
#C7EAC5
accent
#CE1821
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #DC71E2

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

Preview Lab → · Contrast checker → · Palette generator →

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