#DC71F7#DC71F7

#DC71F7 is a light, highly saturated purple. Relative luminance 0.337; OKLCH L 72.2% C 0.211 H 319.2°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#DC71F7
RGBrgb(220, 113, 247)
HSLhsl(288, 89%, 71%)
HSVhsv(288, 54%, 97%)
CMYKcmyk(10.9%, 54.3%, 0%, 3.1%)
CIE-LABlab(64.76, 61.38, -49.66)
CIE-LCHlch(64.76, 78.96, 321.03°)
OKLaboklab(72.2% 0.1599 -0.1381)
OKLCHoklch(72.2% 0.211 319.2)
XYZxyz(52.2067, 33.7434, 91.7408)
Luminance0.3374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC71F7 #8CF771
analogous
#9971F7 #DC71F7 #F771CF
triadic
#DC71F7 #F7DC71 #71F7DC
tetradic
#DC71F7 #F79971 #8CF771 #71CFF7
square
#DC71F7 #F79971 #8CF771 #71CFF7
split-complementary
#DC71F7 #CFF771 #71F799
monochromatic
#B60DE1 #CE37F4 #DC71F7 #EAABFA #F8E2FD

Accessibility & contrast

On white

2.71
#DC71F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#DC71F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC71F7
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC71F7#FFFFFF#000000##000000
##DC71F71.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FB
Deuteranopia (green-blind)
#7AA1F3
Tritanopia (blue-blind)
#DD85AA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #dc71f7;
/* rgb */ color: rgb(220, 113, 247);
/* oklch */ color: oklch(72.2% 0.211 319.2);
Tailwind
colors: {
  custom: {
    50: '#ea9efa',
    500: '#dc71f7',
    950: '#000000',
  },
}
SCSS
$custom: #dc71f7;
$custom-light: #ea9efa;
$custom-dark: #000000;
JSON
{
  "hex": "#dc71f7",
  "rgb": {
    "r": 220,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 287.91,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72204,
    "c": 0.2113,
    "h": 319.2
  },
  "luminance": 0.33741
}

Semantic roles & 50–950 ramp

primary
#DC71F7
secondary
#D7F4D0
accent
#E6002E
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC71F7

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

Preview Lab → · Contrast checker → · Palette generator →

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