#CD7DC3#CD7DC3

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

Color values

HEX#CD7DC3
RGBrgb(205, 125, 195)
HSLhsl(308, 44%, 65%)
HSVhsv(308, 39%, 80%)
CMYKcmyk(0%, 39%, 4.9%, 19.6%)
CIE-LABlab(63.00, 41.40, -23.54)
CIE-LCHlch(63.00, 47.62, 330.38°)
OKLaboklab(69.77% 0.1174 -0.0637)
OKLCHoklch(69.77% 0.134 331.5)
XYZxyz(42.3603, 31.5886, 55.4851)
Luminance0.3159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DC3 #7DCD87
analogous
#AF7DCD #CD7DC3 #CD7D9B
triadic
#CD7DC3 #C3CD7D #7DC3CD
tetradic
#CD7DC3 #CDAF7D #7DCD87 #7D9BCD
square
#CD7DC3 #CDAF7D #7DCD87 #7D9BCD
split-complementary
#CD7DC3 #9BCD7D #7DCDAF
monochromatic
#963A8A #BC51AF #CD7DC3 #DEA9D7 #EFD5EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7DC3#FFFFFF#000000##000000
##CD7DC31.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)
#7B92C6
Deuteranopia (green-blind)
#8F9CC1
Tritanopia (blue-blind)
#D38297
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7dc3;
/* rgb */ color: rgb(205, 125, 195);
/* oklch */ color: oklch(69.8% 0.134 331.5);
Tailwind
colors: {
  custom: {
    50: '#dda4d5',
    500: '#cd7dc3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7dc3;
$custom-light: #dda4d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7dc3",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 195
  },
  "hsl": {
    "h": 307.5,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69767,
    "c": 0.13353,
    "h": 331.5
  },
  "luminance": 0.31586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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