#CD8CCD#CD8CCD

#CD8CCD is a light, moderate purple. Relative luminance 0.361; OKLCH L 72.6% C 0.116 H 326.7°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#CD8CCD
RGBrgb(205, 140, 205)
HSLhsl(300, 39%, 68%)
HSVhsv(300, 32%, 80%)
CMYKcmyk(0%, 31.7%, 0%, 19.6%)
CIE-LABlab(66.63, 35.18, -23.59)
CIE-LCHlch(66.63, 42.36, 326.16°)
OKLaboklab(72.63% 0.0973 -0.064)
OKLCHoklch(72.63% 0.116 326.7)
XYZxyz(45.5734, 36.1448, 62.3218)
Luminance0.3614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CCD #8CCD8C
analogous
#AC8CCD #CD8CCD #CD8CAC
triadic
#CD8CCD #CDCD8C #8CCDCD
tetradic
#CD8CCD #CDAC8C #8CCD8C #8CACCD
square
#CD8CCD #CDAC8C #8CCD8C #8CACCD
split-complementary
#CD8CCD #ACCD8C #8CCDAC
monochromatic
#9B439B #BA61BA #CD8CCD #E0B7E0 #F2E1F2

Accessibility & contrast

On white

2.55
#CD8CCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#CD8CCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CCD
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CCD#FFFFFF#000000##000000
##CD8CCD1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#879DCF
Deuteranopia (green-blind)
#97A5CB
Tritanopia (blue-blind)
#D192A4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd8ccd;
/* rgb */ color: rgb(205, 140, 205);
/* oklch */ color: oklch(72.6% 0.116 326.7);
Tailwind
colors: {
  custom: {
    50: '#ddaedc',
    500: '#cd8ccd',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ccd;
$custom-light: #ddaedc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ccd",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 39.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72632,
    "c": 0.11646,
    "h": 326.7
  },
  "luminance": 0.36143
}

Semantic roles & 50–950 ramp

primary
#CD8CCD
secondary
#D0E4D0
accent
#B23333
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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