#CD8EC9#CD8EC9

#CD8EC9 is a light, moderate purple. Relative luminance 0.365; OKLCH L 72.8% C 0.109 H 328.8°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#CD8EC9
RGBrgb(205, 142, 201)
HSLhsl(304, 39%, 68%)
HSVhsv(304, 31%, 80%)
CMYKcmyk(0%, 30.7%, 2%, 19.6%)
CIE-LABlab(66.93, 33.35, -20.90)
CIE-LCHlch(66.93, 39.36, 327.93°)
OKLaboklab(72.81% 0.0932 -0.0564)
OKLCHoklch(72.81% 0.109 328.8)
XYZxyz(45.3916, 36.5439, 59.9097)
Luminance0.3654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EC9 #8ECD92
analogous
#B18ECD #CD8EC9 #CD8EA9
triadic
#CD8EC9 #C9CD8E #8EC9CD
tetradic
#CD8EC9 #CDB18E #8ECD92 #8EA9CD
square
#CD8EC9 #CDB18E #8ECD92 #8EA9CD
split-complementary
#CD8EC9 #A9CD8E #8ECDB1
monochromatic
#9C4596 #BA64B5 #CD8EC9 #E0B8DD #F3E3F2

Accessibility & contrast

On white

2.53
#CD8EC9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#CD8EC9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EC9
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EC9#FFFFFF#000000##000000
##CD8EC91.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9ECB
Deuteranopia (green-blind)
#9AA6C7
Tritanopia (blue-blind)
#D293A3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8ec9;
/* rgb */ color: rgb(205, 142, 201);
/* oklch */ color: oklch(72.8% 0.109 328.8);
Tailwind
colors: {
  custom: {
    50: '#ddb0d9',
    500: '#cd8ec9',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ec9;
$custom-light: #ddb0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ec9",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 201
  },
  "hsl": {
    "h": 303.81,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72814,
    "c": 0.10894,
    "h": 328.8
  },
  "luminance": 0.36542
}

Semantic roles & 50–950 ramp

primary
#CD8EC9
secondary
#D2E5D3
accent
#B23C34
background
#FDFAFD
surface
#FBF5FA
border
#D4CFD3
text
#151014
muted
#837F83

Preview Lab

Preview with #CD8EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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