#DC71F2#DC71F2

#DC71F2 is a light, highly saturated purple. Relative luminance 0.334; OKLCH L 71.9% C 0.207 H 320.6°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#DC71F2
RGBrgb(220, 113, 242)
HSLhsl(290, 83%, 70%)
HSVhsv(290, 53%, 95%)
CMYKcmyk(9.1%, 53.3%, 0%, 5.1%)
CIE-LABlab(64.51, 60.43, -47.29)
CIE-LCHlch(64.51, 76.74, 321.96°)
OKLaboklab(71.95% 0.1595 -0.1312)
OKLCHoklch(71.95% 0.207 320.6)
XYZxyz(51.4454, 33.4389, 87.7317)
Luminance0.3344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC71F2 #87F271
analogous
#9B71F2 #DC71F2 #F271C8
triadic
#DC71F2 #F2DC71 #71F2DC
tetradic
#DC71F2 #F29B71 #87F271 #71C8F2
square
#DC71F2 #F29B71 #87F271 #71C8F2
split-complementary
#DC71F2 #C8F271 #71F29B
monochromatic
#B414D5 #CE39ED #DC71F2 #EAA9F7 #F8E1FC

Accessibility & contrast

On white

2.73
#DC71F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#DC71F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC71F2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC71F2#FFFFFF#000000##000000
##DC71F21.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#7CA0EE
Tritanopia (blue-blind)
#DE83A7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #dc71f2;
/* rgb */ color: rgb(220, 113, 242);
/* oklch */ color: oklch(71.9% 0.207 320.6);
Tailwind
colors: {
  custom: {
    50: '#e99ef7',
    500: '#dc71f2',
    950: '#000000',
  },
}
SCSS
$custom: #dc71f2;
$custom-light: #e99ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc71f2",
  "rgb": {
    "r": 220,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 289.767,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71946,
    "c": 0.20653,
    "h": 320.6
  },
  "luminance": 0.33437
}

Semantic roles & 50–950 ramp

primary
#DC71F2
secondary
#D3F2CD
accent
#E0062B
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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