#DC71FB#DC71FB

#DC71FB is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.4% C 0.215 H 318.1°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#DC71FB
RGBrgb(220, 113, 251)
HSLhsl(287, 95%, 71%)
HSVhsv(287, 55%, 98%)
CMYKcmyk(12.4%, 55%, 0%, 1.6%)
CIE-LABlab(64.96, 62.15, -51.55)
CIE-LCHlch(64.96, 80.75, 320.33°)
OKLaboklab(72.41% 0.1602 -0.1436)
OKLCHoklch(72.41% 0.215 318.1)
XYZxyz(52.8305, 33.9929, 95.0265)
Luminance0.3399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC71FB #90FB71
analogous
#9771FB #DC71FB #FB71D5
triadic
#DC71FB #FBDC71 #71FBDC
tetradic
#DC71FB #FB9771 #90FB71 #71D5FB
square
#DC71FB #FB9771 #90FB71 #71D5FB
split-complementary
#DC71FB #D5FB71 #71FB97
monochromatic
#B807EB #CD35F9 #DC71FB #EBADFD #F8E1FE

Accessibility & contrast

On white

2.69
#DC71FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#DC71FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC71FB
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC71FB#FFFFFF#000000##000000
##DC71FB1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#DC86AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #dc71fb;
/* rgb */ color: rgb(220, 113, 251);
/* oklch */ color: oklch(72.4% 0.215 318.1);
Tailwind
colors: {
  custom: {
    50: '#ea9efd',
    500: '#dc71fb',
    950: '#000000',
  },
}
SCSS
$custom: #dc71fb;
$custom-light: #ea9efd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc71fb",
  "rgb": {
    "r": 220,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 286.522,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72414,
    "c": 0.21514,
    "h": 318.1
  },
  "luminance": 0.33991
}

Semantic roles & 50–950 ramp

primary
#DC71FB
secondary
#DAF6D2
accent
#E60034
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DC71FB

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

Preview Lab → · Contrast checker → · Palette generator →

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