#CD9DDC#CD9DDC

#CD9DDC is a light, moderate purple. Relative luminance 0.423; OKLCH L 76.2% C 0.102 H 318.0°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#CD9DDC
RGBrgb(205, 157, 220)
HSLhsl(286, 47%, 74%)
HSVhsv(286, 29%, 86%)
CMYKcmyk(6.8%, 28.6%, 0%, 13.7%)
CIE-LABlab(71.05, 28.81, -25.13)
CIE-LCHlch(71.05, 38.23, 318.91°)
OKLaboklab(76.18% 0.076 -0.0684)
OKLCHoklch(76.18% 0.102 318)
XYZxyz(50.1502, 42.2614, 73.2117)
Luminance0.4226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DDC #ACDC9D
analogous
#AE9DDC #CD9DDC #DC9DCC
triadic
#CD9DDC #DCCD9D #9DDCCD
tetradic
#CD9DDC #DCAE9D #ACDC9D #9DCCDC
square
#CD9DDC #DCAE9D #ACDC9D #9DCCDC
split-complementary
#CD9DDC #CCDC9D #9DDCAE
monochromatic
#9F43BC #B670CC #CD9DDC #E4CAEC #F3E8F7

Accessibility & contrast

On white

2.22
#CD9DDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#CD9DDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9DDC
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9DDC#FFFFFF#000000##000000
##CD9DDC1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ABDF
Deuteranopia (green-blind)
#A0B0DA
Tritanopia (blue-blind)
#CDA4B3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9ddc;
/* rgb */ color: rgb(205, 157, 220);
/* oklch */ color: oklch(76.2% 0.102 318.0);
Tailwind
colors: {
  custom: {
    50: '#ddbae7',
    500: '#cd9ddc',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ddc;
$custom-light: #ddbae7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ddc",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 220
  },
  "hsl": {
    "h": 285.714,
    "s": 47.368,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76178,
    "c": 0.10221,
    "h": 318
  },
  "luminance": 0.4226
}

Semantic roles & 50–950 ramp

primary
#CD9DDC
secondary
#E1EEDD
accent
#BB2B4D
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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