#DC7CD2#DC7CD2

#DC7CD2 is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.0% C 0.159 H 331.0°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#DC7CD2
RGBrgb(220, 124, 210)
HSLhsl(306, 58%, 67%)
HSVhsv(306, 44%, 86%)
CMYKcmyk(0%, 43.6%, 4.5%, 13.7%)
CIE-LABlab(65.19, 49.20, -28.45)
CIE-LCHlch(65.19, 56.83, 329.96°)
OKLaboklab(71.99% 0.1394 -0.0773)
OKLCHoklch(71.99% 0.159 331)
XYZxyz(48.3552, 34.2867, 65.0313)
Luminance0.3428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CD2 #7CDC86
analogous
#B67CDC #DC7CD2 #DC7CA2
triadic
#DC7CD2 #D2DC7C #7CD2DC
tetradic
#DC7CD2 #DCB67C #7CDC86 #7CA2DC
square
#DC7CD2 #DCB67C #7CDC86 #7CA2DC
split-complementary
#DC7CD2 #A2DC7C #7CDCB6
monochromatic
#AF2FA2 #CF4CC1 #DC7CD2 #E9ACE3 #F6DDF3

Accessibility & contrast

On white

2.67
#DC7CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#DC7CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7CD2
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7CD2#FFFFFF#000000##000000
##DC7CD21.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7896D5
Deuteranopia (green-blind)
#92A3CF
Tritanopia (blue-blind)
#E3839D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #dc7cd2;
/* rgb */ color: rgb(220, 124, 210);
/* oklch */ color: oklch(72.0% 0.159 331.0);
Tailwind
colors: {
  custom: {
    50: '#e9a4e0',
    500: '#dc7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cd2;
$custom-light: #e9a4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cd2",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 306.25,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71988,
    "c": 0.15936,
    "h": 331
  },
  "luminance": 0.34284
}

Semantic roles & 50–950 ramp

primary
#DC7CD2
secondary
#CBE9CE
accent
#C53120
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DC7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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