#CD9CDB#CD9CDB

#CD9CDB is a light, moderate purple. Relative luminance 0.419; OKLCH L 76.0% C 0.103 H 318.6°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#CD9CDB
RGBrgb(205, 156, 219)
HSLhsl(287, 47%, 74%)
HSVhsv(287, 29%, 86%)
CMYKcmyk(6.4%, 28.8%, 0%, 14.1%)
CIE-LABlab(70.78, 29.16, -24.99)
CIE-LCHlch(70.78, 38.40, 319.41°)
OKLaboklab(75.96% 0.0772 -0.068)
OKLCHoklch(75.96% 0.103 318.6)
XYZxyz(49.8497, 41.8716, 72.4601)
Luminance0.4187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CDB #AADB9C
analogous
#AD9CDB #CD9CDB #DB9CC9
triadic
#CD9CDB #DBCD9C #9CDBCD
tetradic
#CD9CDB #DBAD9C #AADB9C #9CC9DB
square
#CD9CDB #DBAD9C #AADB9C #9CC9DB
split-complementary
#CD9CDB #C9DB9C #9CDBAD
monochromatic
#9F43B9 #B66FCB #CD9CDB #E4C9EB #F4E9F7

Accessibility & contrast

On white

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

On black

9.37
#CD9CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CDB
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CDB#FFFFFF#000000##000000
##CD9CDB1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AADE
Deuteranopia (green-blind)
#9FAFD9
Tritanopia (blue-blind)
#CEA3B3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd9cdb;
/* rgb */ color: rgb(205, 156, 219);
/* oklch */ color: oklch(76.0% 0.103 318.6);
Tailwind
colors: {
  custom: {
    50: '#ddb9e6',
    500: '#cd9cdb',
    950: '#000000',
  },
}
SCSS
$custom: #cd9cdb;
$custom-light: #ddb9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9cdb",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 219
  },
  "hsl": {
    "h": 286.667,
    "s": 46.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75961,
    "c": 0.10285,
    "h": 318.6
  },
  "luminance": 0.41871
}

Semantic roles & 50–950 ramp

primary
#CD9CDB
secondary
#E1EEDD
accent
#BA2C4B
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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