#CD8DCB#CD8DCB

#CD8DCB is a light, moderate purple. Relative luminance 0.363; OKLCH L 72.7% C 0.113 H 327.7°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#CD8DCB
RGBrgb(205, 141, 203)
HSLhsl(302, 39%, 68%)
HSVhsv(302, 31%, 80%)
CMYKcmyk(0%, 31.2%, 1%, 19.6%)
CIE-LABlab(66.78, 34.27, -22.25)
CIE-LCHlch(66.78, 40.85, 327.01°)
OKLaboklab(72.72% 0.0953 -0.0602)
OKLCHoklch(72.72% 0.113 327.7)
XYZxyz(45.4803, 36.3424, 61.1074)
Luminance0.3634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DCB #8DCD8F
analogous
#AF8DCD #CD8DCB #CD8DAB
triadic
#CD8DCB #CBCD8D #8DCBCD
tetradic
#CD8DCB #CDAF8D #8DCD8F #8DABCD
square
#CD8DCB #CDAF8D #8DCD8F #8DABCD
split-complementary
#CD8DCB #ABCD8D #8DCDAF
monochromatic
#9B4499 #BA62B8 #CD8DCB #E0B8DE #F2E2F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD8DCB#FFFFFF#000000##000000
##CD8DCB1.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)
#899DCD
Deuteranopia (green-blind)
#99A5C9
Tritanopia (blue-blind)
#D192A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd8dcb;
/* rgb */ color: rgb(205, 141, 203);
/* oklch */ color: oklch(72.7% 0.113 327.7);
Tailwind
colors: {
  custom: {
    50: '#ddafdb',
    500: '#cd8dcb',
    950: '#000000',
  },
}
SCSS
$custom: #cd8dcb;
$custom-light: #ddafdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8dcb",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 203
  },
  "hsl": {
    "h": 301.875,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72722,
    "c": 0.11269,
    "h": 327.7
  },
  "luminance": 0.36341
}

Semantic roles & 50–950 ramp

primary
#CD8DCB
secondary
#D1E5D2
accent
#B23733
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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