#CD8EC6#CD8EC6

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

Color values

HEX#CD8EC6
RGBrgb(205, 142, 198)
HSLhsl(307, 39%, 68%)
HSVhsv(307, 31%, 80%)
CMYKcmyk(0%, 30.7%, 3.4%, 19.6%)
CIE-LABlab(66.83, 32.80, -19.38)
CIE-LCHlch(66.83, 38.10, 329.42°)
OKLaboklab(72.7% 0.0923 -0.0522)
OKLCHoklch(72.7% 0.106 330.5)
XYZxyz(45.0421, 36.4041, 58.0692)
Luminance0.3640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EC6 #8ECD95
analogous
#B48ECD #CD8EC6 #CD8EA6
triadic
#CD8EC6 #C6CD8E #8EC6CD
tetradic
#CD8EC6 #CDB48E #8ECD95 #8EA6CD
square
#CD8EC6 #CDB48E #8ECD95 #8EA6CD
split-complementary
#CD8EC6 #A6CD8E #8ECDB4
monochromatic
#9C4592 #BA64B1 #CD8EC6 #E0B8DB #F3E3F1

Accessibility & contrast

On white

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

On black

8.28
#CD8EC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EC6
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EC6#FFFFFF#000000##000000
##CD8EC61.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9DC8
Deuteranopia (green-blind)
#9BA6C4
Tritanopia (blue-blind)
#D292A2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8ec6;
/* rgb */ color: rgb(205, 142, 198);
/* oklch */ color: oklch(72.7% 0.106 330.5);
Tailwind
colors: {
  custom: {
    50: '#ddb0d7',
    500: '#cd8ec6',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ec6;
$custom-light: #ddb0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ec6",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 198
  },
  "hsl": {
    "h": 306.667,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72699,
    "c": 0.10607,
    "h": 330.5
  },
  "luminance": 0.36402
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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