#CD9FCD#CD9FCD

#CD9FCD is a light, moderate purple. Relative luminance 0.422; OKLCH L 76.0% C 0.082 H 326.4°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#CD9FCD
RGBrgb(205, 159, 205)
HSLhsl(300, 32%, 71%)
HSVhsv(300, 22%, 80%)
CMYKcmyk(0%, 22.4%, 0%, 19.6%)
CIE-LABlab(71.00, 24.81, -16.95)
CIE-LCHlch(71.00, 30.05, 325.67°)
OKLaboklab(75.97% 0.0685 -0.0456)
OKLCHoklch(75.97% 0.082 326.4)
XYZxyz(48.5932, 42.1845, 63.3284)
Luminance0.4218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FCD #9FCD9F
analogous
#B69FCD #CD9FCD #CD9FB6
triadic
#CD9FCD #CDCD9F #9FCDCD
tetradic
#CD9FCD #CDB69F #9FCD9F #9FB6CD
square
#CD9FCD #CDB69F #9FCD9F #9FB6CD
split-complementary
#CD9FCD #B6CD9F #9FCDB6
monochromatic
#9F539F #B877B8 #CD9FCD #E2C7E2 #F5EBF5

Accessibility & contrast

On white

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

On black

9.44
#CD9FCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FCD
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FCD#FFFFFF#000000##000000
##CD9FCD1.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CAACF
Deuteranopia (green-blind)
#A6B0CB
Tritanopia (blue-blind)
#D0A3AF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9fcd;
/* rgb */ color: rgb(205, 159, 205);
/* oklch */ color: oklch(76.0% 0.082 326.4);
Tailwind
colors: {
  custom: {
    50: '#dcbbdc',
    500: '#cd9fcd',
    950: '#000000',
  },
}
SCSS
$custom: #cd9fcd;
$custom-light: #dcbbdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9fcd",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 31.507,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75965,
    "c": 0.08228,
    "h": 326.4
  },
  "luminance": 0.42183
}

Semantic roles & 50–950 ramp

primary
#CD9FCD
secondary
#DEEADE
accent
#AA3B3B
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151215
muted
#838183

Preview Lab

Preview with #CD9FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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