#CD9CDD#CD9CDD

#CD9CDD is a light, moderate purple. Relative luminance 0.420; OKLCH L 76.0% C 0.105 H 317.7°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#CD9CDD
RGBrgb(205, 156, 221)
HSLhsl(285, 49%, 74%)
HSVhsv(285, 29%, 87%)
CMYKcmyk(7.2%, 29.4%, 0%, 13.3%)
CIE-LABlab(70.86, 29.56, -25.98)
CIE-LCHlch(70.86, 39.35, 318.69°)
OKLaboklab(76.04% 0.0777 -0.0708)
OKLCHoklch(76.04% 0.105 317.7)
XYZxyz(50.1146, 41.9776, 73.8551)
Luminance0.4198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CDD #ACDD9C
analogous
#AD9CDD #CD9CDD #DD9CCD
triadic
#CD9CDD #DDCD9C #9CDDCD
tetradic
#CD9CDD #DDAD9C #ACDD9C #9CCDDD
square
#CD9CDD #DDAD9C #ACDD9C #9CCDDD
split-complementary
#CD9CDD #CDDD9C #9CDDAD
monochromatic
#9F41BE #B66ECD #CD9CDD #E4CAED #F3E8F7

Accessibility & contrast

On white

2.24
#CD9CDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#CD9CDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CDD
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CDD#FFFFFF#000000##000000
##CD9CDD1.002.249.409.40
#FFFFFF2.241.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AAE0
Deuteranopia (green-blind)
#9FAFDB
Tritanopia (blue-blind)
#CDA3B3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd9cdd;
/* rgb */ color: rgb(205, 156, 221);
/* oklch */ color: oklch(76.0% 0.105 317.7);
Tailwind
colors: {
  custom: {
    50: '#ddb9e7',
    500: '#cd9cdd',
    950: '#000000',
  },
}
SCSS
$custom: #cd9cdd;
$custom-light: #ddb9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9cdd",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 221
  },
  "hsl": {
    "h": 285.231,
    "s": 48.872,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76041,
    "c": 0.10512,
    "h": 317.7
  },
  "luminance": 0.41977
}

Semantic roles & 50–950 ramp

primary
#CD9CDD
secondary
#E1EEDD
accent
#BC294D
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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