#CD9DCA#CD9DCA

#CD9DCA is a light, moderate purple. Relative luminance 0.414; OKLCH L 75.5% C 0.083 H 328.4°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#CD9DCA
RGBrgb(205, 157, 202)
HSLhsl(304, 32%, 71%)
HSVhsv(304, 23%, 80%)
CMYKcmyk(0%, 23.4%, 1.5%, 19.6%)
CIE-LABlab(70.43, 25.35, -16.16)
CIE-LCHlch(70.43, 30.06, 327.49°)
OKLaboklab(75.49% 0.0706 -0.0434)
OKLCHoklch(75.49% 0.083 328.4)
XYZxyz(47.8934, 41.3587, 61.3258)
Luminance0.4136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DCA #9DCDA0
analogous
#B89DCD #CD9DCA #CD9DB2
triadic
#CD9DCA #CACD9D #9DCACD
tetradic
#CD9DCA #CDB89D #9DCDA0 #9DB2CD
square
#CD9DCA #CDB89D #9DCDA0 #9DB2CD
split-complementary
#CD9DCA #B2CD9D #9DCDB8
monochromatic
#9F519A #B874B4 #CD9DCA #E2C6E0 #F5EBF4

Accessibility & contrast

On white

2.27
#CD9DCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#CD9DCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9DCA
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9DCA#FFFFFF#000000##000000
##CD9DCA1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA8CC
Deuteranopia (green-blind)
#A6AEC8
Tritanopia (blue-blind)
#D1A0AD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd9dca;
/* rgb */ color: rgb(205, 157, 202);
/* oklch */ color: oklch(75.5% 0.083 328.4);
Tailwind
colors: {
  custom: {
    50: '#dcbada',
    500: '#cd9dca',
    950: '#000000',
  },
}
SCSS
$custom: #cd9dca;
$custom-light: #dcbada;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9dca",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 202
  },
  "hsl": {
    "h": 303.75,
    "s": 32.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75494,
    "c": 0.08285,
    "h": 328.4
  },
  "luminance": 0.41357
}

Semantic roles & 50–950 ramp

primary
#CD9DCA
secondary
#DDE9DD
accent
#AB413A
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CD9DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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