#CD9CCD#CD9CCD

#CD9CCD is a light, moderate purple. Relative luminance 0.412; OKLCH L 75.4% C 0.088 H 326.4°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#CD9CCD
RGBrgb(205, 156, 205)
HSLhsl(300, 33%, 71%)
HSVhsv(300, 24%, 80%)
CMYKcmyk(0%, 23.9%, 0%, 19.6%)
CIE-LABlab(70.29, 26.46, -18.02)
CIE-LCHlch(70.29, 32.01, 325.74°)
OKLaboklab(75.42% 0.0731 -0.0485)
OKLCHoklch(75.42% 0.088 326.4)
XYZxyz(48.0836, 41.1652, 63.1585)
Luminance0.4116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CCD #9CCD9C
analogous
#B49CCD #CD9CCD #CD9CB4
triadic
#CD9CCD #CDCD9C #9CCDCD
tetradic
#CD9CCD #CDB49C #9CCD9C #9CB4CD
square
#CD9CCD #CDB49C #9CCD9C #9CB4CD
split-complementary
#CD9CCD #B4CD9C #9CCDB4
monochromatic
#9F509F #B873B8 #CD9CCD #E2C5E2 #F5EBF5

Accessibility & contrast

On white

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

On black

9.23
#CD9CCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CCD
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CCD#FFFFFF#000000##000000
##CD9CCD1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A8CF
Deuteranopia (green-blind)
#A4AECB
Tritanopia (blue-blind)
#D0A0AD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd9ccd;
/* rgb */ color: rgb(205, 156, 205);
/* oklch */ color: oklch(75.4% 0.088 326.4);
Tailwind
colors: {
  custom: {
    50: '#dcb9dc',
    500: '#cd9ccd',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ccd;
$custom-light: #dcb9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ccd",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 32.886,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75423,
    "c": 0.0877,
    "h": 326.4
  },
  "luminance": 0.41164
}

Semantic roles & 50–950 ramp

primary
#CD9CCD
secondary
#DCE9DC
accent
#AC3A3A
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD9CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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