#DC7DD2#DC7DD2

#DC7DD2 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.1% C 0.158 H 331.0°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#DC7DD2
RGBrgb(220, 125, 210)
HSLhsl(306, 58%, 68%)
HSVhsv(306, 43%, 86%)
CMYKcmyk(0%, 43.2%, 4.5%, 13.7%)
CIE-LABlab(65.39, 48.69, -28.14)
CIE-LCHlch(65.39, 56.24, 329.97°)
OKLaboklab(72.14% 0.1379 -0.0764)
OKLCHoklch(72.14% 0.158 331)
XYZxyz(48.4812, 34.5386, 65.0733)
Luminance0.3454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DD2 #7DDC87
analogous
#B77DDC #DC7DD2 #DC7DA2
triadic
#DC7DD2 #D2DC7D #7DD2DC
tetradic
#DC7DD2 #DCB77D #7DDC87 #7DA2DC
square
#DC7DD2 #DCB77D #7DDC87 #7DA2DC
split-complementary
#DC7DD2 #A2DC7D #7DDCB7
monochromatic
#AF2FA2 #CF4DC1 #DC7DD2 #E9ADE3 #F6DDF3

Accessibility & contrast

On white

2.66
#DC7DD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#DC7DD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DD2
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DD2#FFFFFF#000000##000000
##DC7DD21.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7996D5
Deuteranopia (green-blind)
#93A4CF
Tritanopia (blue-blind)
#E3849E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc7dd2;
/* rgb */ color: rgb(220, 125, 210);
/* oklch */ color: oklch(72.1% 0.158 331.0);
Tailwind
colors: {
  custom: {
    50: '#e9a5e0',
    500: '#dc7dd2',
    950: '#000000',
  },
}
SCSS
$custom: #dc7dd2;
$custom-light: #e9a5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7dd2",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 210
  },
  "hsl": {
    "h": 306.316,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72137,
    "c": 0.15768,
    "h": 331
  },
  "luminance": 0.34536
}

Semantic roles & 50–950 ramp

primary
#DC7DD2
secondary
#CCE9CF
accent
#C53220
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DC7DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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