#DC7FCE#DC7FCE

#DC7FCE is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.3% C 0.151 H 332.7°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#DC7FCE
RGBrgb(220, 127, 206)
HSLhsl(309, 57%, 68%)
HSVhsv(309, 42%, 86%)
CMYKcmyk(0%, 42.3%, 6.4%, 13.7%)
CIE-LABlab(65.63, 46.98, -25.53)
CIE-LCHlch(65.63, 53.46, 331.48°)
OKLaboklab(72.27% 0.1341 -0.0691)
OKLCHoklch(72.27% 0.151 332.7)
XYZxyz(48.2448, 34.8533, 62.5667)
Luminance0.3485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FCE #7FDC8D
analogous
#BB7FDC #DC7FCE #DC7F9F
triadic
#DC7FCE #CEDC7F #7FCEDC
tetradic
#DC7FCE #DCBB7F #7FDC8D #7F9FDC
square
#DC7FCE #DCBB7F #7FDC8D #7F9FDC
split-complementary
#DC7FCE #9FDC7F #7FDCBB
monochromatic
#B0309D #CF4FBC #DC7FCE #E9AFE0 #F6DFF3

Accessibility & contrast

On white

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

On black

7.97
#DC7FCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FCE
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FCE#FFFFFF#000000##000000
##DC7FCE1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D97D1
Deuteranopia (green-blind)
#96A4CB
Tritanopia (blue-blind)
#E3849D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc7fce;
/* rgb */ color: rgb(220, 127, 206);
/* oklch */ color: oklch(72.3% 0.151 332.7);
Tailwind
colors: {
  custom: {
    50: '#e8a6dd',
    500: '#dc7fce',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fce;
$custom-light: #e8a6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fce",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 206
  },
  "hsl": {
    "h": 309.032,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.7227,
    "c": 0.15081,
    "h": 332.7
  },
  "luminance": 0.34851
}

Semantic roles & 50–950 ramp

primary
#DC7FCE
secondary
#CDEAD1
accent
#C53A21
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DC7FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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