#DC7FCD#DC7FCD

#DC7FCD is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.2% C 0.150 H 333.2°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#DC7FCD
RGBrgb(220, 127, 205)
HSLhsl(310, 57%, 68%)
HSVhsv(310, 42%, 86%)
CMYKcmyk(0%, 42.3%, 6.8%, 13.7%)
CIE-LABlab(65.60, 46.81, -25.02)
CIE-LCHlch(65.60, 53.07, 331.87°)
OKLaboklab(72.23% 0.1338 -0.0676)
OKLCHoklch(72.23% 0.15 333.2)
XYZxyz(48.1237, 34.8048, 61.9290)
Luminance0.3480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FCD #7FDC8E
analogous
#BC7FDC #DC7FCD #DC7F9F
triadic
#DC7FCD #CDDC7F #7FCDDC
tetradic
#DC7FCD #DCBC7F #7FDC8E #7F9FDC
square
#DC7FCD #DCBC7F #7FDC8E #7F9FDC
split-complementary
#DC7FCD #9FDC7F #7FDCBC
monochromatic
#B0309C #CF4FBA #DC7FCD #E9AFE0 #F6DFF3

Accessibility & contrast

On white

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

On black

7.96
#DC7FCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FCD
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FCD#FFFFFF#000000##000000
##DC7FCD1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E97D0
Deuteranopia (green-blind)
#96A4CA
Tritanopia (blue-blind)
#E4849D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc7fcd;
/* rgb */ color: rgb(220, 127, 205);
/* oklch */ color: oklch(72.2% 0.150 333.2);
Tailwind
colors: {
  custom: {
    50: '#e8a6dc',
    500: '#dc7fcd',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fcd;
$custom-light: #e8a6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fcd",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 205
  },
  "hsl": {
    "h": 309.677,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.7223,
    "c": 0.14996,
    "h": 333.2
  },
  "luminance": 0.34802
}

Semantic roles & 50–950 ramp

primary
#DC7FCD
secondary
#CDEAD2
accent
#C53B21
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DC7FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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