#CD7DC4#CD7DC4

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

Color values

HEX#CD7DC4
RGBrgb(205, 125, 196)
HSLhsl(307, 44%, 65%)
HSVhsv(307, 39%, 80%)
CMYKcmyk(0%, 39%, 4.4%, 19.6%)
CIE-LABlab(63.04, 41.58, -24.04)
CIE-LCHlch(63.04, 48.03, 329.96°)
OKLaboklab(69.81% 0.1176 -0.0651)
OKLCHoklch(69.81% 0.134 331)
XYZxyz(42.4738, 31.6340, 56.0826)
Luminance0.3163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DC4 #7DCD86
analogous
#AE7DCD #CD7DC4 #CD7D9C
triadic
#CD7DC4 #C4CD7D #7DC4CD
tetradic
#CD7DC4 #CDAE7D #7DCD86 #7D9CCD
square
#CD7DC4 #CDAE7D #7DCD86 #7D9CCD
split-complementary
#CD7DC4 #9CCD7D #7DCDAE
monochromatic
#963A8C #BC51B0 #CD7DC4 #DEA9D8 #EFD5EC

Accessibility & contrast

On white

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

On black

7.33
#CD7DC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DC4
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DC4#FFFFFF#000000##000000
##CD7DC41.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A92C7
Deuteranopia (green-blind)
#8F9DC2
Tritanopia (blue-blind)
#D38298
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7dc4;
/* rgb */ color: rgb(205, 125, 196);
/* oklch */ color: oklch(69.8% 0.134 331.0);
Tailwind
colors: {
  custom: {
    50: '#dda4d6',
    500: '#cd7dc4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7dc4;
$custom-light: #dda4d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7dc4",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 196
  },
  "hsl": {
    "h": 306.75,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69808,
    "c": 0.13443,
    "h": 331
  },
  "luminance": 0.31632
}

Semantic roles & 50–950 ramp

primary
#CD7DC4
secondary
#C5E1C8
accent
#B83D2E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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