#CD8EC5#CD8EC5

#CD8EC5 is a light, moderate purple. Relative luminance 0.364; OKLCH L 72.7% C 0.105 H 331.1°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#CD8EC5
RGBrgb(205, 142, 197)
HSLhsl(308, 39%, 68%)
HSVhsv(308, 31%, 80%)
CMYKcmyk(0%, 30.7%, 3.9%, 19.6%)
CIE-LABlab(66.79, 32.62, -18.88)
CIE-LCHlch(66.79, 37.69, 329.94°)
OKLaboklab(72.66% 0.092 -0.0508)
OKLCHoklch(72.66% 0.105 331.1)
XYZxyz(44.9272, 36.3581, 57.4638)
Luminance0.3636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EC5 #8ECD96
analogous
#B58ECD #CD8EC5 #CD8EA5
triadic
#CD8EC5 #C5CD8E #8EC5CD
tetradic
#CD8EC5 #CDB58E #8ECD96 #8EA5CD
square
#CD8EC5 #CDB58E #8ECD96 #8EA5CD
split-complementary
#CD8EC5 #A5CD8E #8ECDB5
monochromatic
#9C4591 #BA64AF #CD8EC5 #E0B8DB #F3E3F1

Accessibility & contrast

On white

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

On black

8.27
#CD8EC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EC5
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EC5#FFFFFF#000000##000000
##CD8EC51.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9DC7
Deuteranopia (green-blind)
#9BA6C3
Tritanopia (blue-blind)
#D292A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd8ec5;
/* rgb */ color: rgb(205, 142, 197);
/* oklch */ color: oklch(72.7% 0.105 331.1);
Tailwind
colors: {
  custom: {
    50: '#ddb0d6',
    500: '#cd8ec5',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ec5;
$custom-light: #ddb0d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ec5",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 197
  },
  "hsl": {
    "h": 307.619,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72661,
    "c": 0.10512,
    "h": 331.1
  },
  "luminance": 0.36356
}

Semantic roles & 50–950 ramp

primary
#CD8EC5
secondary
#D2E5D4
accent
#B24434
background
#FDFAFD
surface
#FBF5FA
border
#D4CFD3
text
#151014
muted
#837F83

Preview Lab

Preview with #CD8EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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