#CD8DDD#CD8DDD

#CD8DDD is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.5% C 0.131 H 319.4°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#CD8DDD
RGBrgb(205, 141, 221)
HSLhsl(288, 54%, 71%)
HSVhsv(288, 36%, 87%)
CMYKcmyk(7.2%, 36.2%, 0%, 13.3%)
CIE-LABlab(67.46, 37.72, -31.19)
CIE-LCHlch(67.46, 48.95, 320.41°)
OKLaboklab(73.47% 0.0999 -0.0855)
OKLCHoklch(73.47% 0.131 319.4)
XYZxyz(47.7511, 37.2507, 73.0673)
Luminance0.3725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DDD #9DDD8D
analogous
#A58DDD #CD8DDD #DD8DC5
triadic
#CD8DDD #DDCD8D #8DDDCD
tetradic
#CD8DDD #DDA58D #9DDD8D #8DC5DD
square
#CD8DDD #DDA58D #9DDD8D #8DC5DD
split-complementary
#CD8DDD #C5DD8D #8DDDA5
monochromatic
#9F37B9 #B85ECF #CD8DDD #E2BCEB #F5E7F8

Accessibility & contrast

On white

2.49
#CD8DDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#CD8DDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DDD
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DDD#FFFFFF#000000##000000
##CD8DDD1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A0E0
Deuteranopia (green-blind)
#92A7DB
Tritanopia (blue-blind)
#CE96AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8ddd;
/* rgb */ color: rgb(205, 141, 221);
/* oklch */ color: oklch(73.5% 0.131 319.4);
Tailwind
colors: {
  custom: {
    50: '#ddafe7',
    500: '#cd8ddd',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ddd;
$custom-light: #ddafe7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ddd",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 221
  },
  "hsl": {
    "h": 288,
    "s": 54.054,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73465,
    "c": 0.13143,
    "h": 319.4
  },
  "luminance": 0.37249
}

Semantic roles & 50–950 ramp

primary
#CD8DDD
secondary
#DDEED8
accent
#C22443
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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