#CD9DD7#CD9DD7

#CD9DD7 is a light, moderate purple. Relative luminance 0.420; OKLCH L 76.0% C 0.097 H 320.5°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#CD9DD7
RGBrgb(205, 157, 215)
HSLhsl(290, 42%, 73%)
HSVhsv(290, 27%, 84%)
CMYKcmyk(4.7%, 27%, 0%, 15.7%)
CIE-LABlab(70.87, 27.83, -22.65)
CIE-LCHlch(70.87, 35.88, 320.85°)
OKLaboklab(75.98% 0.0745 -0.0615)
OKLCHoklch(75.98% 0.097 320.5)
XYZxyz(49.4979, 42.0005, 69.7762)
Luminance0.4200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DD7 #A7D79D
analogous
#B09DD7 #CD9DD7 #D79DC4
triadic
#CD9DD7 #D7CD9D #9DD7CD
tetradic
#CD9DD7 #D7B09D #A7D79D #9DC4D7
square
#CD9DD7 #D7B09D #A7D79D #9DC4D7
split-complementary
#CD9DD7 #C4D79D #9DD7B0
monochromatic
#9F48B1 #B772C5 #CD9DD7 #E3C8E9 #F4E9F6

Accessibility & contrast

On white

2.23
#CD9DD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#CD9DD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9DD7
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9DD7#FFFFFF#000000##000000
##CD9DD71.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97AAD9
Deuteranopia (green-blind)
#A2AFD5
Tritanopia (blue-blind)
#CEA3B2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd9dd7;
/* rgb */ color: rgb(205, 157, 215);
/* oklch */ color: oklch(76.0% 0.097 320.5);
Tailwind
colors: {
  custom: {
    50: '#ddbae3',
    500: '#cd9dd7',
    950: '#000000',
  },
}
SCSS
$custom: #cd9dd7;
$custom-light: #ddbae3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9dd7",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 215
  },
  "hsl": {
    "h": 289.655,
    "s": 42.029,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75981,
    "c": 0.0966,
    "h": 320.5
  },
  "luminance": 0.41999
}

Semantic roles & 50–950 ramp

primary
#CD9DD7
secondary
#E1EDDE
accent
#B53047
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD9DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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