#DC7FD4#DC7FD4

#DC7FD4 is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.5% C 0.156 H 330.2°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#DC7FD4
RGBrgb(220, 127, 212)
HSLhsl(305, 57%, 68%)
HSVhsv(305, 42%, 86%)
CMYKcmyk(0%, 42.3%, 3.6%, 13.7%)
CIE-LABlab(65.87, 48.02, -28.52)
CIE-LCHlch(65.87, 55.85, 329.29°)
OKLaboklab(72.52% 0.1354 -0.0775)
OKLCHoklch(72.52% 0.156 330.2)
XYZxyz(48.9877, 35.1504, 66.4790)
Luminance0.3515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FD4 #7FDC87
analogous
#B57FDC #DC7FD4 #DC7FA5
triadic
#DC7FD4 #D4DC7F #7FD4DC
tetradic
#DC7FD4 #DCB57F #7FDC87 #7FA5DC
square
#DC7FD4 #DCB57F #7FDC87 #7FA5DC
split-complementary
#DC7FD4 #A5DC7F #7FDCB5
monochromatic
#B030A5 #CF4FC4 #DC7FD4 #E9AFE4 #F6DFF4

Accessibility & contrast

On white

2.62
#DC7FD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#DC7FD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FD4
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FD4#FFFFFF#000000##000000
##DC7FD41.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B98D7
Deuteranopia (green-blind)
#94A5D1
Tritanopia (blue-blind)
#E386A0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc7fd4;
/* rgb */ color: rgb(220, 127, 212);
/* oklch */ color: oklch(72.5% 0.156 330.2);
Tailwind
colors: {
  custom: {
    50: '#e8a6e1',
    500: '#dc7fd4',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fd4;
$custom-light: #e8a6e1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fd4",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 212
  },
  "hsl": {
    "h": 305.161,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.7252,
    "c": 0.15606,
    "h": 330.2
  },
  "luminance": 0.35148
}

Semantic roles & 50–950 ramp

primary
#DC7FD4
secondary
#CDEAD0
accent
#C52F21
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DC7FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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