#DC71E7#DC71E7

#DC71E7 is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.4% C 0.196 H 323.8°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#DC71E7
RGBrgb(220, 113, 231)
HSLhsl(294, 71%, 67%)
HSVhsv(294, 51%, 91%)
CMYKcmyk(4.8%, 51.1%, 0%, 9.4%)
CIE-LABlab(64.00, 58.39, -42.01)
CIE-LCHlch(64.00, 71.93, 324.27°)
OKLaboklab(71.4% 0.1583 -0.1159)
OKLCHoklch(71.4% 0.196 323.8)
XYZxyz(49.8428, 32.7979, 79.2910)
Luminance0.3280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC71E7 #7CE771
analogous
#A171E7 #DC71E7 #E771B7
triadic
#DC71E7 #E7DC71 #71E7DC
tetradic
#DC71E7 #E7A171 #7CE771 #71B7E7
square
#DC71E7 #E7A171 #7CE771 #71B7E7
split-complementary
#DC71E7 #B7E771 #71E7A1
monochromatic
#AF20BE #CF3DDE #DC71E7 #E9A5F0 #F6DAF9

Accessibility & contrast

On white

2.78
#DC71E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#DC71E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC71E7
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC71E7#FFFFFF#000000##000000
##DC71E71.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6193EB
Deuteranopia (green-blind)
#82A0E4
Tritanopia (blue-blind)
#E080A2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #dc71e7;
/* rgb */ color: rgb(220, 113, 231);
/* oklch */ color: oklch(71.4% 0.196 323.8);
Tailwind
colors: {
  custom: {
    50: '#e99eef',
    500: '#dc71e7',
    950: '#000000',
  },
}
SCSS
$custom: #dc71e7;
$custom-light: #e99eef;
$custom-dark: #000000;
JSON
{
  "hex": "#dc71e7",
  "rgb": {
    "r": 220,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 294.407,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71396,
    "c": 0.19621,
    "h": 323.8
  },
  "luminance": 0.32795
}

Semantic roles & 50–950 ramp

primary
#DC71E7
secondary
#CBECC7
accent
#D31224
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC71E7

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

Preview Lab → · Contrast checker → · Palette generator →

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