#DC7DDB#DC7DDB

#DC7DDB is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.5% C 0.166 H 327.5°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#DC7DDB
RGBrgb(220, 125, 219)
HSLhsl(301, 58%, 68%)
HSVhsv(301, 43%, 86%)
CMYKcmyk(0%, 43.2%, 0.5%, 13.7%)
CIE-LABlab(65.75, 50.28, -32.60)
CIE-LCHlch(65.75, 59.92, 327.04°)
OKLaboklab(72.52% 0.1398 -0.0891)
OKLCHoklch(72.52% 0.166 327.5)
XYZxyz(49.6341, 34.9998, 71.1453)
Luminance0.3500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DDB #7DDC7E
analogous
#AE7DDC #DC7DDB #DC7DAB
triadic
#DC7DDB #DBDC7D #7DDBDC
tetradic
#DC7DDB #DCAE7D #7DDC7E #7DABDC
square
#DC7DDB #DCAE7D #7DDC7E #7DABDC
split-complementary
#DC7DDB #ABDC7D #7DDCAE
monochromatic
#AF2FAE #CF4DCE #DC7DDB #E9ADE8 #F6DDF6

Accessibility & contrast

On white

2.63
#DC7DDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#DC7DDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DDB
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DDB#FFFFFF#000000##000000
##DC7DDB1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DE
Deuteranopia (green-blind)
#90A4D8
Tritanopia (blue-blind)
#E186A2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc7ddb;
/* rgb */ color: rgb(220, 125, 219);
/* oklch */ color: oklch(72.5% 0.166 327.5);
Tailwind
colors: {
  custom: {
    50: '#e9a5e6',
    500: '#dc7ddb',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ddb;
$custom-light: #e9a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ddb",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 219
  },
  "hsl": {
    "h": 300.632,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72525,
    "c": 0.16577,
    "h": 327.5
  },
  "luminance": 0.34997
}

Semantic roles & 50–950 ramp

primary
#DC7DDB
secondary
#CCE9CC
accent
#C52220
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC7DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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