#CD8BD1#CD8BD1

#CD8BD1 is a light, vivid purple. Relative luminance 0.360; OKLCH L 72.6% C 0.122 H 324.8°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#CD8BD1
RGBrgb(205, 139, 209)
HSLhsl(297, 43%, 68%)
HSVhsv(297, 33%, 82%)
CMYKcmyk(1.9%, 33.5%, 0%, 18%)
CIE-LABlab(66.56, 36.47, -25.93)
CIE-LCHlch(66.56, 44.75, 324.59°)
OKLaboklab(72.63% 0.0999 -0.0705)
OKLCHoklch(72.63% 0.122 324.8)
XYZxyz(45.9169, 36.0494, 64.8488)
Luminance0.3605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BD1 #8FD18B
analogous
#AA8BD1 #CD8BD1 #D18BB2
triadic
#CD8BD1 #D1CD8B #8BD1CD
tetradic
#CD8BD1 #D1AA8B #8FD18B #8BB2D1
square
#CD8BD1 #D1AA8B #8FD18B #8BB2D1
split-complementary
#CD8BD1 #B2D18B #8BD1AA
monochromatic
#9C40A2 #BA5FC0 #CD8BD1 #E0B7E2 #F3E3F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD8BD1#FFFFFF#000000##000000
##CD8BD11.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)
#859DD4
Deuteranopia (green-blind)
#95A5CF
Tritanopia (blue-blind)
#D092A5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd8bd1;
/* rgb */ color: rgb(205, 139, 209);
/* oklch */ color: oklch(72.6% 0.122 324.8);
Tailwind
colors: {
  custom: {
    50: '#ddaedf',
    500: '#cd8bd1',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bd1;
$custom-light: #ddaedf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bd1",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 209
  },
  "hsl": {
    "h": 296.571,
    "s": 43.21,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72626,
    "c": 0.12228,
    "h": 324.8
  },
  "luminance": 0.36048
}

Semantic roles & 50–950 ramp

primary
#CD8BD1
secondary
#D2E7D1
accent
#B62F37
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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