#DC7CDB#DC7CDB

#DC7CDB is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.4% C 0.167 H 327.5°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#DC7CDB
RGBrgb(220, 124, 219)
HSLhsl(301, 58%, 67%)
HSVhsv(301, 44%, 86%)
CMYKcmyk(0%, 43.6%, 0.5%, 13.7%)
CIE-LABlab(65.55, 50.78, -32.91)
CIE-LCHlch(65.55, 60.51, 327.06°)
OKLaboklab(72.38% 0.1412 -0.0899)
OKLCHoklch(72.38% 0.167 327.5)
XYZxyz(49.5082, 34.7479, 71.1033)
Luminance0.3474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CDB #7CDC7D
analogous
#AD7CDC #DC7CDB #DC7CAB
triadic
#DC7CDB #DBDC7C #7CDBDC
tetradic
#DC7CDB #DCAD7C #7CDC7D #7CABDC
square
#DC7CDB #DCAD7C #7CDC7D #7CABDC
split-complementary
#DC7CDB #ABDC7C #7CDCAD
monochromatic
#AF2FAE #CF4CCE #DC7CDB #E9ACE8 #F6DDF6

Accessibility & contrast

On white

2.64
#DC7CDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#DC7CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7CDB
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7CDB#FFFFFF#000000##000000
##DC7CDB1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DE
Deuteranopia (green-blind)
#8FA4D8
Tritanopia (blue-blind)
#E185A1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc7cdb;
/* rgb */ color: rgb(220, 124, 219);
/* oklch */ color: oklch(72.4% 0.167 327.5);
Tailwind
colors: {
  custom: {
    50: '#e9a4e6',
    500: '#dc7cdb',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cdb;
$custom-light: #e9a4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cdb",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 300.625,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72378,
    "c": 0.16744,
    "h": 327.5
  },
  "luminance": 0.34745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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