#DC71F8#DC71F8

#DC71F8 is a light, highly saturated purple. Relative luminance 0.338; OKLCH L 72.3% C 0.212 H 318.9°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#DC71F8
RGBrgb(220, 113, 248)
HSLhsl(288, 91%, 71%)
HSVhsv(288, 54%, 97%)
CMYKcmyk(11.3%, 54.4%, 0%, 2.7%)
CIE-LABlab(64.81, 61.57, -50.13)
CIE-LCHlch(64.81, 79.40, 320.85°)
OKLaboklab(72.26% 0.16 -0.1395)
OKLCHoklch(72.26% 0.212 318.9)
XYZxyz(52.3614, 33.8053, 92.5556)
Luminance0.3380 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC71F8 #8DF871
analogous
#9871F8 #DC71F8 #F871D0
triadic
#DC71F8 #F8DC71 #71F8DC
tetradic
#DC71F8 #F89871 #8DF871 #71D0F8
square
#DC71F8 #F89871 #8DF871 #71D0F8
split-complementary
#DC71F8 #D0F871 #71F898
monochromatic
#B70BE3 #CE37F5 #DC71F8 #EAABFB #F8E2FE

Accessibility & contrast

On white

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

On black

7.76
#DC71F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC71F8
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC71F8#FFFFFF#000000##000000
##DC71F81.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FC
Deuteranopia (green-blind)
#79A1F4
Tritanopia (blue-blind)
#DC85AA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #dc71f8;
/* rgb */ color: rgb(220, 113, 248);
/* oklch */ color: oklch(72.3% 0.212 318.9);
Tailwind
colors: {
  custom: {
    50: '#ea9efb',
    500: '#dc71f8',
    950: '#000000',
  },
}
SCSS
$custom: #dc71f8;
$custom-light: #ea9efb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc71f8",
  "rgb": {
    "r": 220,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 287.556,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72256,
    "c": 0.21226,
    "h": 318.9
  },
  "luminance": 0.33803
}

Semantic roles & 50–950 ramp

primary
#DC71F8
secondary
#D8F5D0
accent
#E60030
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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