#CD8CC7#CD8CC7

#CD8CC7 is a light, moderate purple. Relative luminance 0.359; OKLCH L 72.4% C 0.111 H 329.9°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#CD8CC7
RGBrgb(205, 140, 199)
HSLhsl(306, 39%, 68%)
HSVhsv(306, 32%, 80%)
CMYKcmyk(0%, 31.7%, 2.9%, 19.6%)
CIE-LABlab(66.41, 34.07, -20.57)
CIE-LCHlch(66.41, 39.80, 328.88°)
OKLaboklab(72.4% 0.0957 -0.0555)
OKLCHoklch(72.4% 0.111 329.9)
XYZxyz(44.8630, 35.8606, 58.5804)
Luminance0.3586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CC7 #8CCD92
analogous
#B28CCD #CD8CC7 #CD8CA7
triadic
#CD8CC7 #C7CD8C #8CC7CD
tetradic
#CD8CC7 #CDB28C #8CCD92 #8CA7CD
square
#CD8CC7 #CDB28C #8CCD92 #8CA7CD
split-complementary
#CD8CC7 #A7CD8C #8CCDB2
monochromatic
#9B4393 #BA61B2 #CD8CC7 #E0B7DC #F2E1F1

Accessibility & contrast

On white

2.57
#CD8CC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#CD8CC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CC7
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CC7#FFFFFF#000000##000000
##CD8CC71.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#899CC9
Deuteranopia (green-blind)
#99A5C5
Tritanopia (blue-blind)
#D290A1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd8cc7;
/* rgb */ color: rgb(205, 140, 199);
/* oklch */ color: oklch(72.4% 0.111 329.9);
Tailwind
colors: {
  custom: {
    50: '#ddaed8',
    500: '#cd8cc7',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cc7;
$custom-light: #ddaed8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cc7",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 199
  },
  "hsl": {
    "h": 305.538,
    "s": 39.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72395,
    "c": 0.11061,
    "h": 329.9
  },
  "luminance": 0.35859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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