#CD8CD0#CD8CD0

#CD8CD0 is a light, moderate purple. Relative luminance 0.363; OKLCH L 72.8% C 0.119 H 325.2°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#CD8CD0
RGBrgb(205, 140, 208)
HSLhsl(297, 42%, 68%)
HSVhsv(297, 33%, 82%)
CMYKcmyk(1.4%, 32.7%, 0%, 18.4%)
CIE-LABlab(66.74, 35.74, -25.09)
CIE-LCHlch(66.74, 43.67, 324.93°)
OKLaboklab(72.75% 0.0981 -0.0682)
OKLCHoklch(72.75% 0.119 325.2)
XYZxyz(45.9390, 36.2910, 64.2473)
Luminance0.3629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CD0 #8FD08C
analogous
#AB8CD0 #CD8CD0 #D08CB1
triadic
#CD8CD0 #D0CD8C #8CD0CD
tetradic
#CD8CD0 #D0AB8C #8FD08C #8CB1D0
square
#CD8CD0 #D0AB8C #8FD08C #8CB1D0
split-complementary
#CD8CD0 #B1D08C #8CD0AB
monochromatic
#9C41A0 #BA61BE #CD8CD0 #E0B7E2 #F3E3F4

Accessibility & contrast

On white

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

On black

8.26
#CD8CD0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CD0
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CD0#FFFFFF#000000##000000
##CD8CD01.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#869DD3
Deuteranopia (green-blind)
#96A5CE
Tritanopia (blue-blind)
#D092A5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd8cd0;
/* rgb */ color: rgb(205, 140, 208);
/* oklch */ color: oklch(72.8% 0.119 325.2);
Tailwind
colors: {
  custom: {
    50: '#ddaede',
    500: '#cd8cd0',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cd0;
$custom-light: #ddaede;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cd0",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 208
  },
  "hsl": {
    "h": 297.353,
    "s": 41.975,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72753,
    "c": 0.11948,
    "h": 325.2
  },
  "luminance": 0.36289
}

Semantic roles & 50–950 ramp

primary
#CD8CD0
secondary
#D2E6D2
accent
#B53036
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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