#CD8DC8#CD8DC8

#CD8DC8 is a light, moderate purple. Relative luminance 0.362; OKLCH L 72.6% C 0.110 H 329.3°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#CD8DC8
RGBrgb(205, 141, 200)
HSLhsl(305, 39%, 68%)
HSVhsv(305, 31%, 80%)
CMYKcmyk(0%, 31.2%, 2.4%, 19.6%)
CIE-LABlab(66.67, 33.71, -20.74)
CIE-LCHlch(66.67, 39.58, 328.40°)
OKLaboklab(72.6% 0.0944 -0.056)
OKLCHoklch(72.6% 0.11 329.3)
XYZxyz(45.1262, 36.2008, 59.2428)
Luminance0.3620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DC8 #8DCD92
analogous
#B28DCD #CD8DC8 #CD8DA8
triadic
#CD8DC8 #C8CD8D #8DC8CD
tetradic
#CD8DC8 #CDB28D #8DCD92 #8DA8CD
square
#CD8DC8 #CDB28D #8DCD92 #8DA8CD
split-complementary
#CD8DC8 #A8CD8D #8DCDB2
monochromatic
#9B4495 #BA62B3 #CD8DC8 #E0B8DD #F2E2F1

Accessibility & contrast

On white

2.55
#CD8DC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#CD8DC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DC8
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DC8#FFFFFF#000000##000000
##CD8DC81.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9DCA
Deuteranopia (green-blind)
#9AA5C6
Tritanopia (blue-blind)
#D292A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd8dc8;
/* rgb */ color: rgb(205, 141, 200);
/* oklch */ color: oklch(72.6% 0.110 329.3);
Tailwind
colors: {
  custom: {
    50: '#ddafd8',
    500: '#cd8dc8',
    950: '#000000',
  },
}
SCSS
$custom: #cd8dc8;
$custom-light: #ddafd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8dc8",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 200
  },
  "hsl": {
    "h": 304.688,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72604,
    "c": 0.10977,
    "h": 329.3
  },
  "luminance": 0.36199
}

Semantic roles & 50–950 ramp

primary
#CD8DC8
secondary
#D1E5D3
accent
#B23D33
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CD8DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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