#CD9ECC#CD9ECC

#CD9ECC is a light, moderate purple. Relative luminance 0.418; OKLCH L 75.7% C 0.083 H 327.0°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#CD9ECC
RGBrgb(205, 158, 204)
HSLhsl(301, 32%, 71%)
HSVhsv(301, 23%, 80%)
CMYKcmyk(0%, 22.9%, 0.5%, 19.6%)
CIE-LABlab(70.73, 25.17, -16.80)
CIE-LCHlch(70.73, 30.27, 326.28°)
OKLaboklab(75.75% 0.0697 -0.0452)
OKLCHoklch(75.75% 0.083 327)
XYZxyz(48.3016, 41.7938, 62.6376)
Luminance0.4179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9ECC #9ECD9F
analogous
#B69ECD #CD9ECC #CD9EB4
triadic
#CD9ECC #CCCD9E #9ECCCD
tetradic
#CD9ECC #CDB69E #9ECD9F #9EB4CD
square
#CD9ECC #CDB69E #9ECD9F #9EB4CD
split-complementary
#CD9ECC #B4CD9E #9ECDB6
monochromatic
#9F529D #B876B7 #CD9ECC #E2C6E1 #F5EBF4

Accessibility & contrast

On white

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

On black

9.36
#CD9ECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9ECC
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9ECC#FFFFFF#000000##000000
##CD9ECC1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd9ecc;
/* rgb */ color: rgb(205, 158, 204);
/* oklch */ color: oklch(75.7% 0.083 327.0);
Tailwind
colors: {
  custom: {
    50: '#dcbbdb',
    500: '#cd9ecc',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ecc;
$custom-light: #dcbbdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ecc",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 204
  },
  "hsl": {
    "h": 301.277,
    "s": 31.973,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75747,
    "c": 0.08306,
    "h": 327
  },
  "luminance": 0.41792
}

Semantic roles & 50–950 ramp

primary
#CD9ECC
secondary
#DDEADD
accent
#AB3D3B
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151215
muted
#838183

Preview Lab

Preview with #CD9ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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