#CD9CDC#CD9CDC

#CD9CDC is a light, moderate purple. Relative luminance 0.419; OKLCH L 76.0% C 0.104 H 318.1°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#CD9CDC
RGBrgb(205, 156, 220)
HSLhsl(286, 48%, 74%)
HSVhsv(286, 29%, 86%)
CMYKcmyk(6.8%, 29.1%, 0%, 13.7%)
CIE-LABlab(70.82, 29.36, -25.48)
CIE-LCHlch(70.82, 38.88, 319.04°)
OKLaboklab(76% 0.0774 -0.0694)
OKLCHoklch(76% 0.104 318.1)
XYZxyz(49.9817, 41.9244, 73.1555)
Luminance0.4192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CDC #ABDC9C
analogous
#AD9CDC #CD9CDC #DC9CCB
triadic
#CD9CDC #DCCD9C #9CDCCD
tetradic
#CD9CDC #DCAD9C #ABDC9C #9CCBDC
square
#CD9CDC #DCAD9C #ABDC9C #9CCBDC
split-complementary
#CD9CDC #CBDC9C #9CDCAD
monochromatic
#9F42BB #B66FCC #CD9CDC #E4C9EC #F4E8F7

Accessibility & contrast

On white

2.24
#CD9CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#CD9CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CDC
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CDC#FFFFFF#000000##000000
##CD9CDC1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AADF
Deuteranopia (green-blind)
#9FAFDA
Tritanopia (blue-blind)
#CDA3B3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd9cdc;
/* rgb */ color: rgb(205, 156, 220);
/* oklch */ color: oklch(76.0% 0.104 318.1);
Tailwind
colors: {
  custom: {
    50: '#ddb9e7',
    500: '#cd9cdc',
    950: '#000000',
  },
}
SCSS
$custom: #cd9cdc;
$custom-light: #ddb9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9cdc",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 220
  },
  "hsl": {
    "h": 285.938,
    "s": 47.761,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76,
    "c": 0.10399,
    "h": 318.1
  },
  "luminance": 0.41923
}

Semantic roles & 50–950 ramp

primary
#CD9CDC
secondary
#E1EEDD
accent
#BB2A4C
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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