#CD8DC9#CD8DC9

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

Color values

HEX#CD8DC9
RGBrgb(205, 141, 201)
HSLhsl(304, 39%, 68%)
HSVhsv(304, 31%, 80%)
CMYKcmyk(0%, 31.2%, 2%, 19.6%)
CIE-LABlab(66.71, 33.90, -21.24)
CIE-LCHlch(66.71, 40.00, 327.93°)
OKLaboklab(72.64% 0.0947 -0.0574)
OKLCHoklch(72.64% 0.111 328.8)
XYZxyz(45.2435, 36.2477, 59.8603)
Luminance0.3625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DC9 #8DCD91
analogous
#B18DCD #CD8DC9 #CD8DA9
triadic
#CD8DC9 #C9CD8D #8DC9CD
tetradic
#CD8DC9 #CDB18D #8DCD91 #8DA9CD
square
#CD8DC9 #CDB18D #8DCD91 #8DA9CD
split-complementary
#CD8DC9 #A9CD8D #8DCDB1
monochromatic
#9B4496 #BA62B5 #CD8DC9 #E0B8DD #F2E2F1

Accessibility & contrast

On white

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

On black

8.25
#CD8DC9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DC9
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DC9#FFFFFF#000000##000000
##CD8DC91.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9DCB
Deuteranopia (green-blind)
#99A5C7
Tritanopia (blue-blind)
#D292A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd8dc9;
/* rgb */ color: rgb(205, 141, 201);
/* oklch */ color: oklch(72.6% 0.111 328.8);
Tailwind
colors: {
  custom: {
    50: '#ddafd9',
    500: '#cd8dc9',
    950: '#000000',
  },
}
SCSS
$custom: #cd8dc9;
$custom-light: #ddafd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8dc9",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 201
  },
  "hsl": {
    "h": 303.75,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72643,
    "c": 0.11074,
    "h": 328.8
  },
  "luminance": 0.36246
}

Semantic roles & 50–950 ramp

primary
#CD8DC9
secondary
#D1E5D2
accent
#B23B33
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CD8DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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