#DC71FE#DC71FE

#DC71FE is a light, highly saturated purple. Relative luminance 0.342; OKLCH L 72.6% C 0.218 H 317.4°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#DC71FE
RGBrgb(220, 113, 254)
HSLhsl(286, 99%, 72%)
HSVhsv(286, 56%, 100%)
CMYKcmyk(13.4%, 55.5%, 0%, 0.4%)
CIE-LABlab(65.11, 62.73, -52.96)
CIE-LCHlch(65.11, 82.10, 319.83°)
OKLaboklab(72.57% 0.1604 -0.1477)
OKLCHoklch(72.57% 0.218 317.4)
XYZxyz(53.3072, 34.1836, 97.5368)
Luminance0.3418 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC71FE #93FE71
analogous
#9671FE #DC71FE #FE71D9
triadic
#DC71FE #FEDC71 #71FEDC
tetradic
#DC71FE #FE9671 #93FE71 #71D9FE
square
#DC71FE #FE9671 #93FE71 #71D9FE
split-complementary
#DC71FE #D9FE71 #71FE96
monochromatic
#B902F3 #CD34FE #DC71FE #EBAEFE #F8E1FF

Accessibility & contrast

On white

2.68
#DC71FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#DC71FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC71FE
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC71FE#FFFFFF#000000##000000
##DC71FE1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#75A1FA
Tritanopia (blue-blind)
#DB87AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #dc71fe;
/* rgb */ color: rgb(220, 113, 254);
/* oklch */ color: oklch(72.6% 0.218 317.4);
Tailwind
colors: {
  custom: {
    50: '#ea9eff',
    500: '#dc71fe',
    950: '#000000',
  },
}
SCSS
$custom: #dc71fe;
$custom-light: #ea9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc71fe",
  "rgb": {
    "r": 220,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 285.532,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72574,
    "c": 0.21805,
    "h": 317.4
  },
  "luminance": 0.34182
}

Semantic roles & 50–950 ramp

primary
#DC71FE
secondary
#DCF7D4
accent
#E60037
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DC71FE

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

Preview Lab → · Contrast checker → · Palette generator →

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