#CD9DDF#CD9DDF

#CD9DDF is a light, moderate purple. Relative luminance 0.424; OKLCH L 76.3% C 0.106 H 316.6°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#CD9DDF
RGBrgb(205, 157, 223)
HSLhsl(284, 51%, 75%)
HSVhsv(284, 30%, 87%)
CMYKcmyk(8.1%, 29.6%, 0%, 12.5%)
CIE-LABlab(71.16, 29.41, -26.61)
CIE-LCHlch(71.16, 39.66, 317.87°)
OKLaboklab(76.3% 0.0768 -0.0726)
OKLCHoklch(76.3% 0.106 316.6)
XYZxyz(50.5511, 42.4218, 75.3230)
Luminance0.4242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DDF #AFDF9D
analogous
#AC9DDF #CD9DDF #DF9DD0
triadic
#CD9DDF #DFCD9D #9DDFCD
tetradic
#CD9DDF #DFAC9D #AFDF9D #9DD0DF
square
#CD9DDF #DFAC9D #AFDF9D #9DD0DF
split-complementary
#CD9DDF #D0DF9D #9DDFAC
monochromatic
#9E41C1 #B56FD0 #CD9DDF #E5CBEE #F3E8F7

Accessibility & contrast

On white

2.21
#CD9DDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#CD9DDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9DDF
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9DDF#FFFFFF#000000##000000
##CD9DDF1.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94ABE2
Deuteranopia (green-blind)
#9FB0DD
Tritanopia (blue-blind)
#CDA5B5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9ddf;
/* rgb */ color: rgb(205, 157, 223);
/* oklch */ color: oklch(76.3% 0.106 316.6);
Tailwind
colors: {
  custom: {
    50: '#ddbae9',
    500: '#cd9ddf',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ddf;
$custom-light: #ddbae9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ddf",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 223
  },
  "hsl": {
    "h": 283.636,
    "s": 50.769,
    "l": 74.51
  },
  "oklch": {
    "l": 0.76298,
    "c": 0.10565,
    "h": 316.6
  },
  "luminance": 0.42421
}

Semantic roles & 50–950 ramp

primary
#CD9DDF
secondary
#E1EFDC
accent
#BE2750
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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