#CD7CC5#CD7CC5

#CD7CC5 is a light, vivid purple. Relative luminance 0.314; OKLCH L 69.7% C 0.137 H 330.5°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CD7CC5
RGBrgb(205, 124, 197)
HSLhsl(306, 45%, 65%)
HSVhsv(306, 40%, 80%)
CMYKcmyk(0%, 39.5%, 3.9%, 19.6%)
CIE-LABlab(62.87, 42.29, -24.87)
CIE-LCHlch(62.87, 49.06, 329.54°)
OKLaboklab(69.69% 0.1194 -0.0674)
OKLCHoklch(69.69% 0.137 330.5)
XYZxyz(42.4620, 31.4277, 56.6420)
Luminance0.3143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CC5 #7CCD84
analogous
#AD7CCD #CD7CC5 #CD7C9D
triadic
#CD7CC5 #C5CD7C #7CC5CD
tetradic
#CD7CC5 #CDAD7C #7CCD84 #7C9DCD
square
#CD7CC5 #CDAD7C #7CCD84 #7C9DCD
split-complementary
#CD7CC5 #9DCD7C #7CCDAD
monochromatic
#96398C #BC50B1 #CD7CC5 #DEA8D9 #EFD5EC

Accessibility & contrast

On white

2.88
#CD7CC5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#CD7CC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CC5
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CC5#FFFFFF#000000##000000
##CD7CC51.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7991C8
Deuteranopia (green-blind)
#8E9CC2
Tritanopia (blue-blind)
#D38298
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7cc5;
/* rgb */ color: rgb(205, 124, 197);
/* oklch */ color: oklch(69.7% 0.137 330.5);
Tailwind
colors: {
  custom: {
    50: '#dea4d6',
    500: '#cd7cc5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cc5;
$custom-light: #dea4d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cc5",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 197
  },
  "hsl": {
    "h": 305.926,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69691,
    "c": 0.13709,
    "h": 330.5
  },
  "luminance": 0.31426
}

Semantic roles & 50–950 ramp

primary
#CD7CC5
secondary
#C4E0C7
accent
#B83B2E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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