#CD8BD8#CD8BD8

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

Color values

HEX#CD8BD8
RGBrgb(205, 139, 216)
HSLhsl(291, 50%, 70%)
HSVhsv(291, 36%, 85%)
CMYKcmyk(5.1%, 35.6%, 0%, 15.3%)
CIE-LABlab(66.83, 37.82, -29.41)
CIE-LCHlch(66.83, 47.91, 322.13°)
OKLaboklab(72.92% 0.1016 -0.0804)
OKLCHoklch(72.92% 0.13 321.7)
XYZxyz(46.8027, 36.4037, 69.5136)
Luminance0.3640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BD8 #96D88B
analogous
#A78BD8 #CD8BD8 #D88BBC
triadic
#CD8BD8 #D8CD8B #8BD8CD
tetradic
#CD8BD8 #D8A78B #96D88B #8BBCD8
square
#CD8BD8 #D8A78B #96D88B #8BBCD8
split-complementary
#CD8BD8 #BCD88B #8BD8A7
monochromatic
#9E3BAE #B95DC9 #CD8BD8 #E1B9E7 #F4E7F7

Accessibility & contrast

On white

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

On black

8.28
#CD8BD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BD8
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BD8#FFFFFF#000000##000000
##CD8BD81.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#829EDB
Deuteranopia (green-blind)
#93A5D6
Tritanopia (blue-blind)
#CF93A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8bd8;
/* rgb */ color: rgb(205, 139, 216);
/* oklch */ color: oklch(72.9% 0.130 321.7);
Tailwind
colors: {
  custom: {
    50: '#ddaee4',
    500: '#cd8bd8',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bd8;
$custom-light: #ddaee4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bd8",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 216
  },
  "hsl": {
    "h": 291.429,
    "s": 49.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72919,
    "c": 0.12956,
    "h": 321.7
  },
  "luminance": 0.36402
}

Semantic roles & 50–950 ramp

primary
#CD8BD8
secondary
#D8EAD4
accent
#BD283E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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