#CD9FD7#CD9FD7

#CD9FD7 is a light, moderate purple. Relative luminance 0.427; OKLCH L 76.3% C 0.093 H 320.3°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#CD9FD7
RGBrgb(205, 159, 215)
HSLhsl(289, 41%, 73%)
HSVhsv(289, 26%, 84%)
CMYKcmyk(4.7%, 26%, 0%, 15.7%)
CIE-LABlab(71.34, 26.73, -21.94)
CIE-LCHlch(71.34, 34.58, 320.62°)
OKLaboklab(76.34% 0.0715 -0.0595)
OKLCHoklch(76.34% 0.093 320.3)
XYZxyz(49.8391, 42.6828, 69.8900)
Luminance0.4268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FD7 #A9D79F
analogous
#B19FD7 #CD9FD7 #D79FC5
triadic
#CD9FD7 #D7CD9F #9FD7CD
tetradic
#CD9FD7 #D7B19F #A9D79F #9FC5D7
square
#CD9FD7 #D7B19F #A9D79F #9FC5D7
split-complementary
#CD9FD7 #C5D79F #9FD7B1
monochromatic
#9F4AB2 #B674C5 #CD9FD7 #E3CAE9 #F4E9F6

Accessibility & contrast

On white

2.20
#CD9FD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#CD9FD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FD7
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FD7#FFFFFF#000000##000000
##CD9FD71.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99ACD9
Deuteranopia (green-blind)
#A3B0D5
Tritanopia (blue-blind)
#CEA5B3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd9fd7;
/* rgb */ color: rgb(205, 159, 215);
/* oklch */ color: oklch(76.3% 0.093 320.3);
Tailwind
colors: {
  custom: {
    50: '#ddbbe3',
    500: '#cd9fd7',
    950: '#000000',
  },
}
SCSS
$custom: #cd9fd7;
$custom-light: #ddbbe3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9fd7",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 215
  },
  "hsl": {
    "h": 289.286,
    "s": 41.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76339,
    "c": 0.09303,
    "h": 320.3
  },
  "luminance": 0.42682
}

Semantic roles & 50–950 ramp

primary
#CD9FD7
secondary
#E1EDDE
accent
#B43149
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151215
muted
#838183

Preview Lab

Preview with #CD9FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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