#DC8CD7#DC8CD7

#DC8CD7 is a light, vivid purple. Relative luminance 0.389; OKLCH L 74.7% C 0.136 H 329.0°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#DC8CD7
RGBrgb(220, 140, 215)
HSLhsl(304, 53%, 71%)
HSVhsv(304, 36%, 86%)
CMYKcmyk(0%, 36.4%, 2.3%, 13.7%)
CIE-LABlab(68.66, 41.79, -25.89)
CIE-LCHlch(68.66, 49.16, 328.22°)
OKLaboklab(74.66% 0.117 -0.0702)
OKLCHoklch(74.66% 0.136 329)
XYZxyz(51.1582, 38.8804, 69.0867)
Luminance0.3888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8CD7 #8CDC91
analogous
#B98CDC #DC8CD7 #DC8CAF
triadic
#DC8CD7 #D7DC8C #8CD7DC
tetradic
#DC8CD7 #DCB98C #8CDC91 #8CAFDC
square
#DC8CD7 #DCB98C #8CDC91 #8CAFDC
split-complementary
#DC8CD7 #AFDC8C #8CDCB9
monochromatic
#B637AE #CE5DC7 #DC8CD7 #EABBE7 #F8E8F7

Accessibility & contrast

On white

2.39
#DC8CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#DC8CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8CD7
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8CD7#FFFFFF#000000##000000
##DC8CD71.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A1DA
Deuteranopia (green-blind)
#9CABD4
Tritanopia (blue-blind)
#E292A8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #dc8cd7;
/* rgb */ color: rgb(220, 140, 215);
/* oklch */ color: oklch(74.7% 0.136 329.0);
Tailwind
colors: {
  custom: {
    50: '#e8afe3',
    500: '#dc8cd7',
    950: '#000000',
  },
}
SCSS
$custom: #dc8cd7;
$custom-light: #e8afe3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8cd7",
  "rgb": {
    "r": 220,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 303.75,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74661,
    "c": 0.13647,
    "h": 329
  },
  "luminance": 0.38878
}

Semantic roles & 50–950 ramp

primary
#DC8CD7
secondary
#D7EDD8
accent
#C12E25
background
#FEFAFD
surface
#FDF5FB
border
#D5CFD4
text
#161015
muted
#847F83

Preview Lab

Preview with #DC8CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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