#DC7DCC#DC7DCC

#DC7DCC is a light, vivid pink. Relative luminance 0.342; OKLCH L 71.9% C 0.153 H 333.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#DC7DCC
RGBrgb(220, 125, 204)
HSLhsl(310, 58%, 68%)
HSVhsv(310, 43%, 86%)
CMYKcmyk(0%, 43.2%, 7.3%, 13.7%)
CIE-LABlab(65.16, 47.66, -25.14)
CIE-LCHlch(65.16, 53.88, 332.19°)
OKLaboklab(71.89% 0.1365 -0.068)
OKLCHoklch(71.89% 0.153 333.5)
XYZxyz(47.7477, 34.2452, 61.2100)
Luminance0.3424 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DCC #7DDC8D
analogous
#BC7DDC #DC7DCC #DC7D9D
triadic
#DC7DCC #CCDC7D #7DCCDC
tetradic
#DC7DCC #DCBC7D #7DDC8D #7D9DDC
square
#DC7DCC #DCBC7D #7DDC8D #7D9DDC
split-complementary
#DC7DCC #9DDC7D #7DDCBC
monochromatic
#AF2F9A #CF4DB9 #DC7DCC #E9ADDF #F6DDF2

Accessibility & contrast

On white

2.68
#DC7DCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#DC7DCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DCC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DCC#FFFFFF#000000##000000
##DC7DCC1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C96CF
Deuteranopia (green-blind)
#95A3C9
Tritanopia (blue-blind)
#E4829B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #dc7dcc;
/* rgb */ color: rgb(220, 125, 204);
/* oklch */ color: oklch(71.9% 0.153 333.5);
Tailwind
colors: {
  custom: {
    50: '#e8a5db',
    500: '#dc7dcc',
    950: '#000000',
  },
}
SCSS
$custom: #dc7dcc;
$custom-light: #e8a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7dcc",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 310.105,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71888,
    "c": 0.15251,
    "h": 333.5
  },
  "luminance": 0.34243
}

Semantic roles & 50–950 ramp

primary
#DC7DCC
secondary
#CCE9D1
accent
#C53C20
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DC7DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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