#DC7ECD#DC7ECD

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

Color values

HEX#DC7ECD
RGBrgb(220, 126, 205)
HSLhsl(310, 57%, 68%)
HSVhsv(310, 43%, 86%)
CMYKcmyk(0%, 42.7%, 6.8%, 13.7%)
CIE-LABlab(65.40, 47.32, -25.33)
CIE-LCHlch(65.40, 53.67, 331.84°)
OKLaboklab(72.08% 0.1353 -0.0685)
OKLCHoklch(72.08% 0.152 333.1)
XYZxyz(47.9952, 34.5478, 61.8861)
Luminance0.3454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7ECD #7EDC8D
analogous
#BC7EDC #DC7ECD #DC7E9E
triadic
#DC7ECD #CDDC7E #7ECDDC
tetradic
#DC7ECD #DCBC7E #7EDC8D #7E9EDC
square
#DC7ECD #DCBC7E #7EDC8D #7E9EDC
split-complementary
#DC7ECD #9EDC7E #7EDCBC
monochromatic
#B0309B #CF4EBA #DC7ECD #E9AEE0 #F6DEF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC7ECD#FFFFFF#000000##000000
##DC7ECD1.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)
#7D96D0
Deuteranopia (green-blind)
#96A4CA
Tritanopia (blue-blind)
#E4839C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc7ecd;
/* rgb */ color: rgb(220, 126, 205);
/* oklch */ color: oklch(72.1% 0.152 333.1);
Tailwind
colors: {
  custom: {
    50: '#e8a6dc',
    500: '#dc7ecd',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ecd;
$custom-light: #e8a6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ecd",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 205
  },
  "hsl": {
    "h": 309.574,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72079,
    "c": 0.15166,
    "h": 333.1
  },
  "luminance": 0.34545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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