#CD8CD1#CD8CD1

#CD8CD1 is a light, vivid purple. Relative luminance 0.363; OKLCH L 72.8% C 0.121 H 324.7°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#CD8CD1
RGBrgb(205, 140, 209)
HSLhsl(297, 43%, 68%)
HSVhsv(297, 33%, 82%)
CMYKcmyk(1.9%, 33%, 0%, 18%)
CIE-LABlab(66.78, 35.93, -25.59)
CIE-LCHlch(66.78, 44.11, 324.54°)
OKLaboklab(72.79% 0.0984 -0.0696)
OKLCHoklch(72.79% 0.121 324.7)
XYZxyz(46.0624, 36.3404, 64.8972)
Luminance0.3634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CD1 #90D18C
analogous
#AA8CD1 #CD8CD1 #D18CB2
triadic
#CD8CD1 #D1CD8C #8CD1CD
tetradic
#CD8CD1 #D1AA8C #90D18C #8CB2D1
square
#CD8CD1 #D1AA8C #90D18C #8CB2D1
split-complementary
#CD8CD1 #B2D18C #8CD1AA
monochromatic
#9C41A2 #BA60C0 #CD8CD1 #E0B8E2 #F3E3F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD8CD1#FFFFFF#000000##000000
##CD8CD11.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)
#869DD4
Deuteranopia (green-blind)
#96A5CF
Tritanopia (blue-blind)
#D093A5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd8cd1;
/* rgb */ color: rgb(205, 140, 209);
/* oklch */ color: oklch(72.8% 0.121 324.7);
Tailwind
colors: {
  custom: {
    50: '#ddaedf',
    500: '#cd8cd1',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cd1;
$custom-light: #ddaedf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cd1",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 209
  },
  "hsl": {
    "h": 296.522,
    "s": 42.857,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72794,
    "c": 0.12051,
    "h": 324.7
  },
  "luminance": 0.36339
}

Semantic roles & 50–950 ramp

primary
#CD8CD1
secondary
#D3E7D2
accent
#B63037
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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