#DC7FD5#DC7FD5

#DC7FD5 is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.6% C 0.157 H 329.8°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#DC7FD5
RGBrgb(220, 127, 213)
HSLhsl(305, 57%, 68%)
HSVhsv(305, 42%, 86%)
CMYKcmyk(0%, 42.3%, 3.2%, 13.7%)
CIE-LABlab(65.90, 48.19, -29.02)
CIE-LCHlch(65.90, 56.25, 328.94°)
OKLaboklab(72.56% 0.1357 -0.0789)
OKLCHoklch(72.56% 0.157 329.8)
XYZxyz(49.1142, 35.2010, 67.1454)
Luminance0.3520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FD5 #7FDC86
analogous
#B47FDC #DC7FD5 #DC7FA6
triadic
#DC7FD5 #D5DC7F #7FD5DC
tetradic
#DC7FD5 #DCB47F #7FDC86 #7FA6DC
square
#DC7FD5 #DCB47F #7FDC86 #7FA6DC
split-complementary
#DC7FD5 #A6DC7F #7FDCB4
monochromatic
#B030A7 #CF4FC5 #DC7FD5 #E9AFE5 #F6DFF5

Accessibility & contrast

On white

2.61
#DC7FD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#DC7FD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FD5
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FD5#FFFFFF#000000##000000
##DC7FD51.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A98D8
Deuteranopia (green-blind)
#93A5D2
Tritanopia (blue-blind)
#E286A0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc7fd5;
/* rgb */ color: rgb(220, 127, 213);
/* oklch */ color: oklch(72.6% 0.157 329.8);
Tailwind
colors: {
  custom: {
    50: '#e8a6e2',
    500: '#dc7fd5',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fd5;
$custom-light: #e8a6e2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fd5",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 213
  },
  "hsl": {
    "h": 304.516,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72562,
    "c": 0.15697,
    "h": 329.8
  },
  "luminance": 0.35198
}

Semantic roles & 50–950 ramp

primary
#DC7FD5
secondary
#CDEACF
accent
#C52D21
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DC7FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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