#DC71EA#DC71EA

#DC71EA is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.5% C 0.199 H 322.9°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#DC71EA
RGBrgb(220, 113, 234)
HSLhsl(293, 74%, 68%)
HSVhsv(293, 52%, 92%)
CMYKcmyk(6%, 51.7%, 0%, 8.2%)
CIE-LABlab(64.14, 58.94, -43.46)
CIE-LCHlch(64.14, 73.23, 323.60°)
OKLaboklab(71.54% 0.1587 -0.1201)
OKLCHoklch(71.54% 0.199 322.9)
XYZxyz(50.2701, 32.9688, 81.5416)
Luminance0.3297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC71EA #7FEA71
analogous
#9F71EA #DC71EA #EA71BB
triadic
#DC71EA #EADC71 #71EADC
tetradic
#DC71EA #EA9F71 #7FEA71 #71BBEA
square
#DC71EA #EA9F71 #7FEA71 #71BBEA
split-complementary
#DC71EA #BBEA71 #71EA9F
monochromatic
#B01DC4 #CF3CE2 #DC71EA #E9A6F2 #F6DCFA

Accessibility & contrast

On white

2.77
#DC71EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#DC71EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC71EA
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC71EA#FFFFFF#000000##000000
##DC71EA1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F93EE
Deuteranopia (green-blind)
#80A0E7
Tritanopia (blue-blind)
#DF81A3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #dc71ea;
/* rgb */ color: rgb(220, 113, 234);
/* oklch */ color: oklch(71.5% 0.199 322.9);
Tailwind
colors: {
  custom: {
    50: '#e99ef1',
    500: '#dc71ea',
    950: '#000000',
  },
}
SCSS
$custom: #dc71ea;
$custom-light: #e99ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc71ea",
  "rgb": {
    "r": 220,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 293.058,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71543,
    "c": 0.199,
    "h": 322.9
  },
  "luminance": 0.32966
}

Semantic roles & 50–950 ramp

primary
#DC71EA
secondary
#CDEEC9
accent
#D60F26
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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