#CD9DCD#CD9DCD

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

Color values

HEX#CD9DCD
RGBrgb(205, 157, 205)
HSLhsl(300, 32%, 71%)
HSVhsv(300, 23%, 80%)
CMYKcmyk(0%, 23.4%, 0%, 19.6%)
CIE-LABlab(70.53, 25.91, -17.66)
CIE-LCHlch(70.53, 31.36, 325.72°)
OKLaboklab(75.6% 0.0715 -0.0475)
OKLCHoklch(75.6% 0.086 326.4)
XYZxyz(48.2521, 41.5022, 63.2147)
Luminance0.4150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DCD #9DCD9D
analogous
#B59DCD #CD9DCD #CD9DB5
triadic
#CD9DCD #CDCD9D #9DCDCD
tetradic
#CD9DCD #CDB59D #9DCD9D #9DB5CD
square
#CD9DCD #CDB59D #9DCD9D #9DB5CD
split-complementary
#CD9DCD #B5CD9D #9DCDB5
monochromatic
#9F519F #B874B8 #CD9DCD #E2C6E2 #F5EBF5

Accessibility & contrast

On white

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

On black

9.30
#CD9DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9DCD
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9DCD#FFFFFF#000000##000000
##CD9DCD1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA9CF
Deuteranopia (green-blind)
#A5AFCB
Tritanopia (blue-blind)
#D0A1AE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd9dcd;
/* rgb */ color: rgb(205, 157, 205);
/* oklch */ color: oklch(75.6% 0.086 326.4);
Tailwind
colors: {
  custom: {
    50: '#dcbadc',
    500: '#cd9dcd',
    950: '#000000',
  },
}
SCSS
$custom: #cd9dcd;
$custom-light: #dcbadc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9dcd",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 32.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75603,
    "c": 0.08589,
    "h": 326.4
  },
  "luminance": 0.41501
}

Semantic roles & 50–950 ramp

primary
#CD9DCD
secondary
#DDE9DD
accent
#AB3A3A
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD9DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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