#CD8DC5#CD8DC5

#CD8DC5 is a light, moderate purple. Relative luminance 0.361; OKLCH L 72.5% C 0.107 H 331.1°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#CD8DC5
RGBrgb(205, 141, 197)
HSLhsl(308, 39%, 68%)
HSVhsv(308, 31%, 80%)
CMYKcmyk(0%, 31.2%, 3.9%, 19.6%)
CIE-LABlab(66.57, 33.17, -19.22)
CIE-LCHlch(66.57, 38.33, 329.91°)
OKLaboklab(72.49% 0.0936 -0.0517)
OKLCHoklch(72.49% 0.107 331.1)
XYZxyz(44.7791, 36.0619, 57.4144)
Luminance0.3606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DC5 #8DCD95
analogous
#B58DCD #CD8DC5 #CD8DA5
triadic
#CD8DC5 #C5CD8D #8DC5CD
tetradic
#CD8DC5 #CDB58D #8DCD95 #8DA5CD
square
#CD8DC5 #CDB58D #8DCD95 #8DA5CD
split-complementary
#CD8DC5 #A5CD8D #8DCDB5
monochromatic
#9B4491 #BA62AF #CD8DC5 #E0B8DB #F2E2F0

Accessibility & contrast

On white

2.56
#CD8DC5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#CD8DC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DC5
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DC5#FFFFFF#000000##000000
##CD8DC51.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9CC7
Deuteranopia (green-blind)
#9BA5C3
Tritanopia (blue-blind)
#D291A1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd8dc5;
/* rgb */ color: rgb(205, 141, 197);
/* oklch */ color: oklch(72.5% 0.107 331.1);
Tailwind
colors: {
  custom: {
    50: '#ddafd6',
    500: '#cd8dc5',
    950: '#000000',
  },
}
SCSS
$custom: #cd8dc5;
$custom-light: #ddafd6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8dc5",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 197
  },
  "hsl": {
    "h": 307.5,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72489,
    "c": 0.10693,
    "h": 331.1
  },
  "luminance": 0.3606
}

Semantic roles & 50–950 ramp

primary
#CD8DC5
secondary
#D1E5D4
accent
#B24333
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CD8DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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