#CD7CC9#CD7CC9

#CD7CC9 is a light, vivid purple. Relative luminance 0.316; OKLCH L 69.9% C 0.141 H 328.7°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CD7CC9
RGBrgb(205, 124, 201)
HSLhsl(303, 45%, 65%)
HSVhsv(303, 40%, 80%)
CMYKcmyk(0%, 39.5%, 2%, 19.6%)
CIE-LABlab(63.02, 43.01, -26.89)
CIE-LCHlch(63.02, 50.72, 327.98°)
OKLaboklab(69.86% 0.1203 -0.0731)
OKLCHoklch(69.86% 0.141 328.7)
XYZxyz(42.9264, 31.6135, 59.0879)
Luminance0.3161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CC9 #7CCD80
analogous
#A97CCD #CD7CC9 #CD7CA1
triadic
#CD7CC9 #C9CD7C #7CC9CD
tetradic
#CD7CC9 #CDA97C #7CCD80 #7CA1CD
square
#CD7CC9 #CDA97C #7CCD80 #7CA1CD
split-complementary
#CD7CC9 #A1CD7C #7CCDA9
monochromatic
#963991 #BC50B7 #CD7CC9 #DEA8DB #EFD5EE

Accessibility & contrast

On white

2.87
#CD7CC9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#CD7CC9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CC9
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CC9#FFFFFF#000000##000000
##CD7CC91.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7792CC
Deuteranopia (green-blind)
#8D9CC6
Tritanopia (blue-blind)
#D28399
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7cc9;
/* rgb */ color: rgb(205, 124, 201);
/* oklch */ color: oklch(69.9% 0.141 328.7);
Tailwind
colors: {
  custom: {
    50: '#dea4d9',
    500: '#cd7cc9',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cc9;
$custom-light: #dea4d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cc9",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 201
  },
  "hsl": {
    "h": 302.963,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69858,
    "c": 0.1408,
    "h": 328.7
  },
  "luminance": 0.31611
}

Semantic roles & 50–950 ramp

primary
#CD7CC9
secondary
#C4E0C6
accent
#B8342E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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