#CD9CD1#CD9CD1

#CD9CD1 is a light, moderate purple. Relative luminance 0.414; OKLCH L 75.6% C 0.092 H 323.9°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#CD9CD1
RGBrgb(205, 156, 209)
HSLhsl(295, 37%, 72%)
HSVhsv(295, 25%, 82%)
CMYKcmyk(1.9%, 25.4%, 0%, 18%)
CIE-LABlab(70.43, 27.21, -20.02)
CIE-LCHlch(70.43, 33.79, 323.66°)
OKLaboklab(75.57% 0.0743 -0.0541)
OKLCHoklch(75.57% 0.092 323.9)
XYZxyz(48.5726, 41.3608, 65.7340)
Luminance0.4136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CD1 #A0D19C
analogous
#B39CD1 #CD9CD1 #D19CBB
triadic
#CD9CD1 #D1CD9C #9CD1CD
tetradic
#CD9CD1 #D1B39C #A0D19C #9CBBD1
square
#CD9CD1 #D1B39C #A0D19C #9CBBD1
split-complementary
#CD9CD1 #BBD19C #9CD1B3
monochromatic
#9F4DA6 #B872BE #CD9CD1 #E2C6E4 #F4EAF5

Accessibility & contrast

On white

2.26
#CD9CD1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#CD9CD1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CD1
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CD1#FFFFFF#000000##000000
##CD9CD11.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A9D3
Deuteranopia (green-blind)
#A3AECF
Tritanopia (blue-blind)
#CFA1AF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd9cd1;
/* rgb */ color: rgb(205, 156, 209);
/* oklch */ color: oklch(75.6% 0.092 323.9);
Tailwind
colors: {
  custom: {
    50: '#ddb9df',
    500: '#cd9cd1',
    950: '#000000',
  },
}
SCSS
$custom: #cd9cd1;
$custom-light: #ddb9df;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9cd1",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 209
  },
  "hsl": {
    "h": 295.472,
    "s": 36.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75573,
    "c": 0.09188,
    "h": 323.9
  },
  "luminance": 0.4136
}

Semantic roles & 50–950 ramp

primary
#CD9CD1
secondary
#DFEBDE
accent
#AF363F
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD9CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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