#CD9DCC#CD9DCC

#CD9DCC is a light, moderate purple. Relative luminance 0.415; OKLCH L 75.6% C 0.085 H 327.1°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#CD9DCC
RGBrgb(205, 157, 204)
HSLhsl(301, 32%, 71%)
HSVhsv(301, 23%, 80%)
CMYKcmyk(0%, 23.4%, 0.5%, 19.6%)
CIE-LABlab(70.49, 25.72, -17.16)
CIE-LCHlch(70.49, 30.92, 326.29°)
OKLaboklab(75.57% 0.0712 -0.0462)
OKLCHoklch(75.57% 0.085 327.1)
XYZxyz(48.1318, 41.4540, 62.5810)
Luminance0.4145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DCC #9DCD9E
analogous
#B69DCD #CD9DCC #CD9DB4
triadic
#CD9DCC #CCCD9D #9DCCCD
tetradic
#CD9DCC #CDB69D #9DCD9E #9DB4CD
square
#CD9DCC #CDB69D #9DCD9E #9DB4CD
split-complementary
#CD9DCC #B4CD9D #9DCDB6
monochromatic
#9F519D #B874B7 #CD9DCC #E2C6E1 #F5EBF4

Accessibility & contrast

On white

2.26
#CD9DCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#CD9DCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9DCC
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9DCC#FFFFFF#000000##000000
##CD9DCC1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA9CE
Deuteranopia (green-blind)
#A5AFCA
Tritanopia (blue-blind)
#D0A1AD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd9dcc;
/* rgb */ color: rgb(205, 157, 204);
/* oklch */ color: oklch(75.6% 0.085 327.1);
Tailwind
colors: {
  custom: {
    50: '#dcbadb',
    500: '#cd9dcc',
    950: '#000000',
  },
}
SCSS
$custom: #cd9dcc;
$custom-light: #dcbadb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9dcc",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 204
  },
  "hsl": {
    "h": 301.25,
    "s": 32.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75566,
    "c": 0.08487,
    "h": 327.1
  },
  "luminance": 0.41453
}

Semantic roles & 50–950 ramp

primary
#CD9DCC
secondary
#DDE9DD
accent
#AB3D3A
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD9DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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