#CD8ECC#CD8ECC

#CD8ECC is a light, moderate purple. Relative luminance 0.367; OKLCH L 72.9% C 0.112 H 327.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#CD8ECC
RGBrgb(205, 142, 204)
HSLhsl(301, 39%, 68%)
HSVhsv(301, 31%, 80%)
CMYKcmyk(0%, 30.7%, 0.5%, 19.6%)
CIE-LABlab(67.04, 33.91, -22.41)
CIE-LCHlch(67.04, 40.64, 326.55°)
OKLaboklab(72.93% 0.094 -0.0606)
OKLCHoklch(72.93% 0.112 327.2)
XYZxyz(45.7479, 36.6864, 61.7864)
Luminance0.3669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8ECC #8ECD8F
analogous
#AE8ECD #CD8ECC #CD8EAC
triadic
#CD8ECC #CCCD8E #8ECCCD
tetradic
#CD8ECC #CDAE8E #8ECD8F #8EACCD
square
#CD8ECC #CDAE8E #8ECD8F #8EACCD
split-complementary
#CD8ECC #ACCD8E #8ECDAE
monochromatic
#9C459A #BA64B9 #CD8ECC #E0B8DF #F3E3F2

Accessibility & contrast

On white

2.52
#CD8ECC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#CD8ECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8ECC
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8ECC#FFFFFF#000000##000000
##CD8ECC1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9ECE
Deuteranopia (green-blind)
#99A6CA
Tritanopia (blue-blind)
#D193A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8ecc;
/* rgb */ color: rgb(205, 142, 204);
/* oklch */ color: oklch(72.9% 0.112 327.2);
Tailwind
colors: {
  custom: {
    50: '#ddb0db',
    500: '#cd8ecc',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ecc;
$custom-light: #ddb0db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ecc",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 204
  },
  "hsl": {
    "h": 300.952,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72931,
    "c": 0.11189,
    "h": 327.2
  },
  "luminance": 0.36685
}

Semantic roles & 50–950 ramp

primary
#CD8ECC
secondary
#D2E5D2
accent
#B23634
background
#FDFAFD
surface
#FBF5FB
border
#D4CFD4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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