#CD8EC4#CD8EC4

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

Color values

HEX#CD8EC4
RGBrgb(205, 142, 196)
HSLhsl(309, 39%, 68%)
HSVhsv(309, 31%, 80%)
CMYKcmyk(0%, 30.7%, 4.4%, 19.6%)
CIE-LABlab(66.76, 32.44, -18.37)
CIE-LCHlch(66.76, 37.28, 330.48°)
OKLaboklab(72.62% 0.0917 -0.0494)
OKLCHoklch(72.62% 0.104 331.7)
XYZxyz(44.8130, 36.3124, 56.8623)
Luminance0.3631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EC4 #8ECD97
analogous
#B68ECD #CD8EC4 #CD8EA4
triadic
#CD8EC4 #C4CD8E #8EC4CD
tetradic
#CD8EC4 #CDB68E #8ECD97 #8EA4CD
square
#CD8EC4 #CDB68E #8ECD97 #8EA4CD
split-complementary
#CD8EC4 #A4CD8E #8ECDB6
monochromatic
#9C458F #BA64AE #CD8EC4 #E0B8DA #F3E3F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD8EC4#FFFFFF#000000##000000
##CD8EC41.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)
#8D9DC6
Deuteranopia (green-blind)
#9CA6C2
Tritanopia (blue-blind)
#D292A1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd8ec4;
/* rgb */ color: rgb(205, 142, 196);
/* oklch */ color: oklch(72.6% 0.104 331.7);
Tailwind
colors: {
  custom: {
    50: '#ddb0d6',
    500: '#cd8ec4',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ec4;
$custom-light: #ddb0d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ec4",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 196
  },
  "hsl": {
    "h": 308.571,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72623,
    "c": 0.10419,
    "h": 331.7
  },
  "luminance": 0.36311
}

Semantic roles & 50–950 ramp

primary
#CD8EC4
secondary
#D2E5D5
accent
#B24634
background
#FDFAFD
surface
#FBF5FA
border
#D4CFD3
text
#151014
muted
#837F83

Preview Lab

Preview with #CD8EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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