#DC7ECE#DC7ECE

#DC7ECE is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.1% C 0.153 H 332.7°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#DC7ECE
RGBrgb(220, 126, 206)
HSLhsl(309, 57%, 68%)
HSVhsv(309, 43%, 86%)
CMYKcmyk(0%, 42.7%, 6.4%, 13.7%)
CIE-LABlab(65.43, 47.49, -25.83)
CIE-LCHlch(65.43, 54.06, 331.45°)
OKLaboklab(72.12% 0.1355 -0.0699)
OKLCHoklch(72.12% 0.153 332.7)
XYZxyz(48.1163, 34.5963, 62.5239)
Luminance0.3459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7ECE #7EDC8C
analogous
#BB7EDC #DC7ECE #DC7E9F
triadic
#DC7ECE #CEDC7E #7ECEDC
tetradic
#DC7ECE #DCBB7E #7EDC8C #7E9FDC
square
#DC7ECE #DCBB7E #7EDC8C #7E9FDC
split-complementary
#DC7ECE #9FDC7E #7EDCBB
monochromatic
#B0309D #CF4EBC #DC7ECE #E9AEE0 #F6DEF3

Accessibility & contrast

On white

2.65
#DC7ECE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#DC7ECE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7ECE
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7ECE#FFFFFF#000000##000000
##DC7ECE1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C97D1
Deuteranopia (green-blind)
#95A4CB
Tritanopia (blue-blind)
#E4849D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc7ece;
/* rgb */ color: rgb(220, 126, 206);
/* oklch */ color: oklch(72.1% 0.153 332.7);
Tailwind
colors: {
  custom: {
    50: '#e8a6dd',
    500: '#dc7ece',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ece;
$custom-light: #e8a6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ece",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 206
  },
  "hsl": {
    "h": 308.936,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.7212,
    "c": 0.15251,
    "h": 332.7
  },
  "luminance": 0.34594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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