#CD8BD7#CD8BD7

#CD8BD7 is a light, vivid purple. Relative luminance 0.364; OKLCH L 72.9% C 0.129 H 322.1°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#CD8BD7
RGBrgb(205, 139, 215)
HSLhsl(292, 49%, 69%)
HSVhsv(292, 35%, 84%)
CMYKcmyk(4.7%, 35.3%, 0%, 15.7%)
CIE-LABlab(66.79, 37.63, -28.91)
CIE-LCHlch(66.79, 47.45, 322.46°)
OKLaboklab(72.88% 0.1014 -0.079)
OKLCHoklch(72.88% 0.129 322.1)
XYZxyz(46.6738, 36.3522, 68.8349)
Luminance0.3635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BD7 #95D78B
analogous
#A78BD7 #CD8BD7 #D78BBB
triadic
#CD8BD7 #D7CD8B #8BD7CD
tetradic
#CD8BD7 #D7A78B #95D78B #8BBBD7
square
#CD8BD7 #D7A78B #95D78B #8BBBD7
split-complementary
#CD8BD7 #BBD78B #8BD7A7
monochromatic
#9D3BAC #B95DC7 #CD8BD7 #E1B9E7 #F4E6F6

Accessibility & contrast

On white

2.54
#CD8BD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#CD8BD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BD7
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BD7#FFFFFF#000000##000000
##CD8BD71.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#839EDA
Deuteranopia (green-blind)
#93A5D5
Tritanopia (blue-blind)
#CF93A7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd8bd7;
/* rgb */ color: rgb(205, 139, 215);
/* oklch */ color: oklch(72.9% 0.129 322.1);
Tailwind
colors: {
  custom: {
    50: '#ddaee3',
    500: '#cd8bd7',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bd7;
$custom-light: #ddaee3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bd7",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 215
  },
  "hsl": {
    "h": 292.105,
    "s": 48.718,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72876,
    "c": 0.1285,
    "h": 322.1
  },
  "luminance": 0.36351
}

Semantic roles & 50–950 ramp

primary
#CD8BD7
secondary
#D7EAD4
accent
#BC293D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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