#CD8DC7#CD8DC7

#CD8DC7 is a light, moderate purple. Relative luminance 0.362; OKLCH L 72.6% C 0.109 H 329.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#CD8DC7
RGBrgb(205, 141, 199)
HSLhsl(306, 39%, 68%)
HSVhsv(306, 31%, 80%)
CMYKcmyk(0%, 31.2%, 2.9%, 19.6%)
CIE-LABlab(66.64, 33.53, -20.23)
CIE-LCHlch(66.64, 39.16, 328.89°)
OKLaboklab(72.57% 0.0941 -0.0546)
OKLCHoklch(72.57% 0.109 329.9)
XYZxyz(45.0098, 36.1542, 58.6293)
Luminance0.3615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DC7 #8DCD93
analogous
#B38DCD #CD8DC7 #CD8DA7
triadic
#CD8DC7 #C7CD8D #8DC7CD
tetradic
#CD8DC7 #CDB38D #8DCD93 #8DA7CD
square
#CD8DC7 #CDB38D #8DCD93 #8DA7CD
split-complementary
#CD8DC7 #A7CD8D #8DCDB3
monochromatic
#9B4493 #BA62B2 #CD8DC7 #E0B8DC #F2E2F1

Accessibility & contrast

On white

2.55
#CD8DC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#CD8DC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DC7
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DC7#FFFFFF#000000##000000
##CD8DC71.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9DC9
Deuteranopia (green-blind)
#9AA5C5
Tritanopia (blue-blind)
#D291A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd8dc7;
/* rgb */ color: rgb(205, 141, 199);
/* oklch */ color: oklch(72.6% 0.109 329.9);
Tailwind
colors: {
  custom: {
    50: '#ddafd8',
    500: '#cd8dc7',
    950: '#000000',
  },
}
SCSS
$custom: #cd8dc7;
$custom-light: #ddafd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8dc7",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 199
  },
  "hsl": {
    "h": 305.625,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72566,
    "c": 0.10881,
    "h": 329.9
  },
  "luminance": 0.36152
}

Semantic roles & 50–950 ramp

primary
#CD8DC7
secondary
#D1E5D3
accent
#B23F33
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CD8DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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