#CD9ECD#CD9ECD

#CD9ECD is a light, moderate purple. Relative luminance 0.418; OKLCH L 75.8% C 0.084 H 326.4°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#CD9ECD
RGBrgb(205, 158, 205)
HSLhsl(300, 32%, 71%)
HSVhsv(300, 23%, 80%)
CMYKcmyk(0%, 22.9%, 0%, 19.6%)
CIE-LABlab(70.76, 25.36, -17.31)
CIE-LCHlch(70.76, 30.70, 325.69°)
OKLaboklab(75.78% 0.07 -0.0466)
OKLCHoklch(75.78% 0.084 326.4)
XYZxyz(48.4220, 41.8419, 63.2713)
Luminance0.4184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9ECD #9ECD9E
analogous
#B59ECD #CD9ECD #CD9EB5
triadic
#CD9ECD #CDCD9E #9ECDCD
tetradic
#CD9ECD #CDB59E #9ECD9E #9EB5CD
square
#CD9ECD #CDB59E #9ECD9E #9EB5CD
split-complementary
#CD9ECD #B5CD9E #9ECDB5
monochromatic
#9F529F #B876B8 #CD9ECD #E2C6E2 #F5EBF5

Accessibility & contrast

On white

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

On black

9.37
#CD9ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9ECD
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9ECD#FFFFFF#000000##000000
##CD9ECD1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA9CF
Deuteranopia (green-blind)
#A6AFCB
Tritanopia (blue-blind)
#D0A2AE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd9ecd;
/* rgb */ color: rgb(205, 158, 205);
/* oklch */ color: oklch(75.8% 0.084 326.4);
Tailwind
colors: {
  custom: {
    50: '#dcbbdc',
    500: '#cd9ecd',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ecd;
$custom-light: #dcbbdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ecd",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 31.973,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75784,
    "c": 0.08408,
    "h": 326.4
  },
  "luminance": 0.41841
}

Semantic roles & 50–950 ramp

primary
#CD9ECD
secondary
#DDEADD
accent
#AB3B3B
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151215
muted
#838183

Preview Lab

Preview with #CD9ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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