#CD9DDB#CD9DDB

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

Color values

HEX#CD9DDB
RGBrgb(205, 157, 219)
HSLhsl(286, 46%, 74%)
HSVhsv(286, 28%, 86%)
CMYKcmyk(6.4%, 28.3%, 0%, 14.1%)
CIE-LABlab(71.01, 28.61, -24.63)
CIE-LCHlch(71.01, 37.76, 319.28°)
OKLaboklab(76.14% 0.0757 -0.067)
OKLCHoklch(76.14% 0.101 318.5)
XYZxyz(50.0182, 42.2086, 72.5163)
Luminance0.4221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DDB #ABDB9D
analogous
#AE9DDB #CD9DDB #DB9DCA
triadic
#CD9DDB #DBCD9D #9DDBCD
tetradic
#CD9DDB #DBAE9D #ABDB9D #9DCADB
square
#CD9DDB #DBAE9D #ABDB9D #9DCADB
split-complementary
#CD9DDB #CADB9D #9DDBAE
monochromatic
#9F44B9 #B670CB #CD9DDB #E4CAEB #F4E9F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD9DDB#FFFFFF#000000##000000
##CD9DDB1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ABDD
Deuteranopia (green-blind)
#A0AFD9
Tritanopia (blue-blind)
#CEA4B3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9ddb;
/* rgb */ color: rgb(205, 157, 219);
/* oklch */ color: oklch(76.1% 0.101 318.5);
Tailwind
colors: {
  custom: {
    50: '#ddbae6',
    500: '#cd9ddb',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ddb;
$custom-light: #ddbae6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ddb",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 219
  },
  "hsl": {
    "h": 286.452,
    "s": 46.269,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76138,
    "c": 0.10109,
    "h": 318.5
  },
  "luminance": 0.42208
}

Semantic roles & 50–950 ramp

primary
#CD9DDB
secondary
#E1EEDD
accent
#B92C4C
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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