#CD9CCE#CD9CCE

#CD9CCE is a light, moderate purple. Relative luminance 0.412; OKLCH L 75.5% C 0.089 H 325.8°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#CD9CCE
RGBrgb(205, 156, 206)
HSLhsl(299, 34%, 71%)
HSVhsv(299, 24%, 81%)
CMYKcmyk(0.5%, 24.3%, 0%, 19.2%)
CIE-LABlab(70.33, 26.65, -18.52)
CIE-LCHlch(70.33, 32.45, 325.20°)
OKLaboklab(75.46% 0.0734 -0.0499)
OKLCHoklch(75.46% 0.089 325.8)
XYZxyz(48.2047, 41.2136, 63.7963)
Luminance0.4121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CCE #9DCE9C
analogous
#B49CCE #CD9CCE #CE9CB6
triadic
#CD9CCE #CECD9C #9CCECD
tetradic
#CD9CCE #CEB49C #9DCE9C #9CB6CE
square
#CD9CCE #CEB49C #9DCE9C #9CB6CE
split-complementary
#CD9CCE #B6CE9C #9CCEB4
monochromatic
#9F4FA0 #B873BA #CD9CCE #E2C5E2 #F5EBF5

Accessibility & contrast

On white

2.27
#CD9CCE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#CD9CCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CCE
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CCE#FFFFFF#000000##000000
##CD9CCE1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A8D0
Deuteranopia (green-blind)
#A4AECC
Tritanopia (blue-blind)
#D0A0AD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd9cce;
/* rgb */ color: rgb(205, 156, 206);
/* oklch */ color: oklch(75.5% 0.089 325.8);
Tailwind
colors: {
  custom: {
    50: '#dcb9dd',
    500: '#cd9cce',
    950: '#000000',
  },
}
SCSS
$custom: #cd9cce;
$custom-light: #dcb9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9cce",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 206
  },
  "hsl": {
    "h": 298.8,
    "s": 33.784,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7546,
    "c": 0.08873,
    "h": 325.8
  },
  "luminance": 0.41212
}

Semantic roles & 50–950 ramp

primary
#CD9CCE
secondary
#DDEADC
accent
#AD393B
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD9CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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