#CD7DC1#CD7DC1

#CD7DC1 is a light, vivid purple. Relative luminance 0.315; OKLCH L 69.7% C 0.132 H 332.5°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CD7DC1
RGBrgb(205, 125, 193)
HSLhsl(309, 44%, 65%)
HSVhsv(309, 39%, 80%)
CMYKcmyk(0%, 39%, 5.9%, 19.6%)
CIE-LABlab(62.93, 41.05, -22.52)
CIE-LCHlch(62.93, 46.82, 331.24°)
OKLaboklab(69.69% 0.1169 -0.0608)
OKLCHoklch(69.69% 0.132 332.5)
XYZxyz(42.1357, 31.4988, 54.3022)
Luminance0.3150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DC1 #7DCD89
analogous
#B17DCD #CD7DC1 #CD7D99
triadic
#CD7DC1 #C1CD7D #7DC1CD
tetradic
#CD7DC1 #CDB17D #7DCD89 #7D99CD
square
#CD7DC1 #CDB17D #7DCD89 #7D99CD
split-complementary
#CD7DC1 #99CD7D #7DCDB1
monochromatic
#963A88 #BC51AC #CD7DC1 #DEA9D6 #EFD5EB

Accessibility & contrast

On white

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

On black

7.30
#CD7DC1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DC1
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DC1#FFFFFF#000000##000000
##CD7DC11.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B91C3
Deuteranopia (green-blind)
#909CBF
Tritanopia (blue-blind)
#D48296
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7dc1;
/* rgb */ color: rgb(205, 125, 193);
/* oklch */ color: oklch(69.7% 0.132 332.5);
Tailwind
colors: {
  custom: {
    50: '#dda4d4',
    500: '#cd7dc1',
    950: '#000000',
  },
}
SCSS
$custom: #cd7dc1;
$custom-light: #dda4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7dc1",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 193
  },
  "hsl": {
    "h": 309,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69686,
    "c": 0.13174,
    "h": 332.5
  },
  "luminance": 0.31497
}

Semantic roles & 50–950 ramp

primary
#CD7DC1
secondary
#C5E1C9
accent
#B8432E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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