#CD9FDC#CD9FDC

#CD9FDC is a light, moderate purple. Relative luminance 0.429; OKLCH L 76.5% C 0.099 H 317.7°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#CD9FDC
RGBrgb(205, 159, 220)
HSLhsl(285, 47%, 74%)
HSVhsv(285, 28%, 86%)
CMYKcmyk(6.8%, 27.7%, 0%, 13.7%)
CIE-LABlab(71.52, 27.72, -24.41)
CIE-LCHlch(71.52, 36.94, 318.63°)
OKLaboklab(76.53% 0.073 -0.0664)
OKLCHoklch(76.53% 0.099 317.7)
XYZxyz(50.4914, 42.9437, 73.3254)
Luminance0.4294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FDC #AEDC9F
analogous
#AF9FDC #CD9FDC #DC9FCD
triadic
#CD9FDC #DCCD9F #9FDCCD
tetradic
#CD9FDC #DCAF9F #AEDC9F #9FCDDC
square
#CD9FDC #DCAF9F #AEDC9F #9FCDDC
split-complementary
#CD9FDC #CDDC9F #9FDCAF
monochromatic
#9E45BB #B672CC #CD9FDC #E4CCEC #F3E9F7

Accessibility & contrast

On white

2.19
#CD9FDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#CD9FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FDC
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FDC#FFFFFF#000000##000000
##CD9FDC1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ACDE
Deuteranopia (green-blind)
#A2B1DA
Tritanopia (blue-blind)
#CDA6B5
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd9fdc;
/* rgb */ color: rgb(205, 159, 220);
/* oklch */ color: oklch(76.5% 0.099 317.7);
Tailwind
colors: {
  custom: {
    50: '#ddbbe7',
    500: '#cd9fdc',
    950: '#000000',
  },
}
SCSS
$custom: #cd9fdc;
$custom-light: #ddbbe7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9fdc",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 220
  },
  "hsl": {
    "h": 285.246,
    "s": 46.565,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76534,
    "c": 0.09869,
    "h": 317.7
  },
  "luminance": 0.42943
}

Semantic roles & 50–950 ramp

primary
#CD9FDC
secondary
#E1EEDD
accent
#BA2C4F
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CD9FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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