#DC7FDC#DC7FDC

#DC7FDC is a light, vivid purple. Relative luminance 0.356; OKLCH L 72.9% C 0.163 H 327.1°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#DC7FDC
RGBrgb(220, 127, 220)
HSLhsl(300, 57%, 68%)
HSVhsv(300, 42%, 86%)
CMYKcmyk(0%, 42.3%, 0%, 13.7%)
CIE-LABlab(66.19, 49.44, -32.48)
CIE-LCHlch(66.19, 59.16, 326.69°)
OKLaboklab(72.86% 0.1372 -0.0888)
OKLCHoklch(72.86% 0.163 327.1)
XYZxyz(50.0219, 35.5641, 71.9260)
Luminance0.3556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FDC #7FDC7F
analogous
#AD7FDC #DC7FDC #DC7FAD
triadic
#DC7FDC #DCDC7F #7FDCDC
tetradic
#DC7FDC #DCAD7F #7FDC7F #7FADDC
square
#DC7FDC #DCAD7F #7FDC7F #7FADDC
split-complementary
#DC7FDC #ADDC7F #7FDCAD
monochromatic
#B030B0 #CF4FCF #DC7FDC #E9AFE9 #F6DFF6

Accessibility & contrast

On white

2.59
#DC7FDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#DC7FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FDC
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FDC#FFFFFF#000000##000000
##DC7FDC1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DF
Deuteranopia (green-blind)
#91A5D9
Tritanopia (blue-blind)
#E188A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc7fdc;
/* rgb */ color: rgb(220, 127, 220);
/* oklch */ color: oklch(72.9% 0.163 327.1);
Tailwind
colors: {
  custom: {
    50: '#e8a6e7',
    500: '#dc7fdc',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fdc;
$custom-light: #e8a6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fdc",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 300,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72864,
    "c": 0.16337,
    "h": 327.1
  },
  "luminance": 0.35562
}

Semantic roles & 50–950 ramp

primary
#DC7FDC
secondary
#CDEACD
accent
#C52121
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DC7FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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