#CD9DDD#CD9DDD

#CD9DDD is a light, moderate purple. Relative luminance 0.423; OKLCH L 76.2% C 0.103 H 317.5°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#CD9DDD
RGBrgb(205, 157, 221)
HSLhsl(285, 48%, 74%)
HSVhsv(285, 29%, 87%)
CMYKcmyk(7.2%, 29%, 0%, 13.3%)
CIE-LABlab(71.09, 29.01, -25.62)
CIE-LCHlch(71.09, 38.70, 318.55°)
OKLaboklab(76.22% 0.0762 -0.0698)
OKLCHoklch(76.22% 0.103 317.5)
XYZxyz(50.2831, 42.3146, 73.9113)
Luminance0.4231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DDD #ADDD9D
analogous
#AD9DDD #CD9DDD #DD9DCD
triadic
#CD9DDD #DDCD9D #9DDDCD
tetradic
#CD9DDD #DDAD9D #ADDD9D #9DCDDD
square
#CD9DDD #DDAD9D #ADDD9D #9DCDDD
split-complementary
#CD9DDD #CDDD9D #9DDDAD
monochromatic
#9F42BD #B670CD #CD9DDD #E4CAED #F3E8F7

Accessibility & contrast

On white

2.22
#CD9DDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#CD9DDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9DDD
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9DDD#FFFFFF#000000##000000
##CD9DDD1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ABE0
Deuteranopia (green-blind)
#A0B0DB
Tritanopia (blue-blind)
#CDA4B4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9ddd;
/* rgb */ color: rgb(205, 157, 221);
/* oklch */ color: oklch(76.2% 0.103 317.5);
Tailwind
colors: {
  custom: {
    50: '#ddbae7',
    500: '#cd9ddd',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ddd;
$custom-light: #ddbae7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ddd",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 221
  },
  "hsl": {
    "h": 285,
    "s": 48.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76217,
    "c": 0.10335,
    "h": 317.5
  },
  "luminance": 0.42314
}

Semantic roles & 50–950 ramp

primary
#CD9DDD
secondary
#E1EEDD
accent
#BC2A4E
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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