#CD8EC8#CD8EC8

#CD8EC8 is a light, moderate purple. Relative luminance 0.365; OKLCH L 72.8% C 0.108 H 329.4°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#CD8EC8
RGBrgb(205, 142, 200)
HSLhsl(305, 39%, 68%)
HSVhsv(305, 31%, 80%)
CMYKcmyk(0%, 30.7%, 2.4%, 19.6%)
CIE-LABlab(66.90, 33.17, -20.39)
CIE-LCHlch(66.90, 38.94, 328.42°)
OKLaboklab(72.78% 0.0929 -0.055)
OKLCHoklch(72.78% 0.108 329.4)
XYZxyz(45.2744, 36.4970, 59.2921)
Luminance0.3649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EC8 #8ECD93
analogous
#B28ECD #CD8EC8 #CD8EA8
triadic
#CD8EC8 #C8CD8E #8EC8CD
tetradic
#CD8EC8 #CDB28E #8ECD93 #8EA8CD
square
#CD8EC8 #CDB28E #8ECD93 #8EA8CD
split-complementary
#CD8EC8 #A8CD8E #8ECDB2
monochromatic
#9C4595 #BA64B3 #CD8EC8 #E0B8DD #F3E3F1

Accessibility & contrast

On white

2.53
#CD8EC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#CD8EC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EC8
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EC8#FFFFFF#000000##000000
##CD8EC81.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9ECA
Deuteranopia (green-blind)
#9AA6C6
Tritanopia (blue-blind)
#D292A3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8ec8;
/* rgb */ color: rgb(205, 142, 200);
/* oklch */ color: oklch(72.8% 0.108 329.4);
Tailwind
colors: {
  custom: {
    50: '#ddb0d8',
    500: '#cd8ec8',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ec8;
$custom-light: #ddb0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ec8",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 200
  },
  "hsl": {
    "h": 304.762,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72775,
    "c": 0.10797,
    "h": 329.4
  },
  "luminance": 0.36495
}

Semantic roles & 50–950 ramp

primary
#CD8EC8
secondary
#D2E5D3
accent
#B23E34
background
#FDFAFD
surface
#FBF5FA
border
#D4CFD3
text
#151014
muted
#837F83

Preview Lab

Preview with #CD8EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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