#CD8CD2#CD8CD2

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

Color values

HEX#CD8CD2
RGBrgb(205, 140, 210)
HSLhsl(296, 44%, 69%)
HSVhsv(296, 33%, 82%)
CMYKcmyk(2.4%, 33.3%, 0%, 17.6%)
CIE-LABlab(66.82, 36.12, -26.09)
CIE-LCHlch(66.82, 44.56, 324.16°)
OKLaboklab(72.84% 0.0987 -0.071)
OKLCHoklch(72.84% 0.122 324.3)
XYZxyz(46.1866, 36.3900, 65.5513)
Luminance0.3639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CD2 #91D28C
analogous
#AA8CD2 #CD8CD2 #D28CB4
triadic
#CD8CD2 #D2CD8C #8CD2CD
tetradic
#CD8CD2 #D2AA8C #91D28C #8CB4D2
square
#CD8CD2 #D2AA8C #91D28C #8CB4D2
split-complementary
#CD8CD2 #B4D28C #8CD2AA
monochromatic
#9C40A4 #BA60C1 #CD8CD2 #E0B8E3 #F3E4F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD8CD2#FFFFFF#000000##000000
##CD8CD21.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)
#869ED5
Deuteranopia (green-blind)
#96A5D0
Tritanopia (blue-blind)
#D093A6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8cd2;
/* rgb */ color: rgb(205, 140, 210);
/* oklch */ color: oklch(72.8% 0.122 324.3);
Tailwind
colors: {
  custom: {
    50: '#ddaee0',
    500: '#cd8cd2',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cd2;
$custom-light: #ddaee0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cd2",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 295.714,
    "s": 43.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72835,
    "c": 0.12154,
    "h": 324.3
  },
  "luminance": 0.36388
}

Semantic roles & 50–950 ramp

primary
#CD8CD2
secondary
#D4E7D2
accent
#B72F38
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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