#CD9CD2#CD9CD2

#CD9CD2 is a light, moderate purple. Relative luminance 0.414; OKLCH L 75.6% C 0.093 H 323.3°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#CD9CD2
RGBrgb(205, 156, 210)
HSLhsl(294, 38%, 72%)
HSVhsv(294, 26%, 82%)
CMYKcmyk(2.4%, 25.7%, 0%, 17.6%)
CIE-LABlab(70.46, 27.41, -20.52)
CIE-LCHlch(70.46, 34.24, 323.18°)
OKLaboklab(75.61% 0.0746 -0.0555)
OKLCHoklch(75.61% 0.093 323.3)
XYZxyz(48.6968, 41.4105, 66.3881)
Luminance0.4141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CD2 #A1D29C
analogous
#B29CD2 #CD9CD2 #D29CBC
triadic
#CD9CD2 #D2CD9C #9CD2CD
tetradic
#CD9CD2 #D2B29C #A1D29C #9CBCD2
square
#CD9CD2 #D2B29C #A1D29C #9CBCD2
split-complementary
#CD9CD2 #BCD29C #9CD2B2
monochromatic
#9F4CA7 #B872BF #CD9CD2 #E2C6E5 #F4EAF5

Accessibility & contrast

On white

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

On black

9.28
#CD9CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CD2
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CD2#FFFFFF#000000##000000
##CD9CD21.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A9D4
Deuteranopia (green-blind)
#A2AED0
Tritanopia (blue-blind)
#CFA1AF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd9cd2;
/* rgb */ color: rgb(205, 156, 210);
/* oklch */ color: oklch(75.6% 0.093 323.3);
Tailwind
colors: {
  custom: {
    50: '#ddb9e0',
    500: '#cd9cd2',
    950: '#000000',
  },
}
SCSS
$custom: #cd9cd2;
$custom-light: #ddb9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9cd2",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 210
  },
  "hsl": {
    "h": 294.444,
    "s": 37.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75611,
    "c": 0.09295,
    "h": 323.3
  },
  "luminance": 0.41409
}

Semantic roles & 50–950 ramp

primary
#CD9CD2
secondary
#DFECDE
accent
#B03540
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD9CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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