#CD8EC3#CD8EC3

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

Color values

HEX#CD8EC3
RGBrgb(205, 142, 195)
HSLhsl(310, 39%, 68%)
HSVhsv(310, 31%, 80%)
CMYKcmyk(0%, 30.7%, 4.9%, 19.6%)
CIE-LABlab(66.72, 32.26, -17.87)
CIE-LCHlch(66.72, 36.88, 331.02°)
OKLaboklab(72.58% 0.0914 -0.048)
OKLCHoklch(72.58% 0.103 332.3)
XYZxyz(44.6996, 36.2671, 56.2649)
Luminance0.3626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EC3 #8ECD98
analogous
#B78ECD #CD8EC3 #CD8EA3
triadic
#CD8EC3 #C3CD8E #8EC3CD
tetradic
#CD8EC3 #CDB78E #8ECD98 #8EA3CD
square
#CD8EC3 #CDB78E #8ECD98 #8EA3CD
split-complementary
#CD8EC3 #A3CD8E #8ECDB7
monochromatic
#9C458E #BA64AC #CD8EC3 #E0B8DA #F3E3F0

Accessibility & contrast

On white

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

On black

8.25
#CD8EC3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EC3
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EC3#FFFFFF#000000##000000
##CD8EC31.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D9DC5
Deuteranopia (green-blind)
#9CA5C1
Tritanopia (blue-blind)
#D391A1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd8ec3;
/* rgb */ color: rgb(205, 142, 195);
/* oklch */ color: oklch(72.6% 0.103 332.3);
Tailwind
colors: {
  custom: {
    50: '#ddb0d5',
    500: '#cd8ec3',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ec3;
$custom-light: #ddb0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ec3",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 195
  },
  "hsl": {
    "h": 309.524,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72585,
    "c": 0.10327,
    "h": 332.3
  },
  "luminance": 0.36265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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