#CD7DC0#CD7DC0

#CD7DC0 is a light, vivid purple. Relative luminance 0.315; OKLCH L 69.6% C 0.131 H 333.0°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CD7DC0
RGBrgb(205, 125, 192)
HSLhsl(310, 44%, 65%)
HSVhsv(310, 39%, 80%)
CMYKcmyk(0%, 39%, 6.3%, 19.6%)
CIE-LABlab(62.89, 40.87, -22.02)
CIE-LCHlch(62.89, 46.42, 331.69°)
OKLaboklab(69.65% 0.1166 -0.0594)
OKLCHoklch(69.65% 0.131 333)
XYZxyz(42.0245, 31.4543, 53.7167)
Luminance0.3145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DC0 #7DCD8A
analogous
#B27DCD #CD7DC0 #CD7D98
triadic
#CD7DC0 #C0CD7D #7DC0CD
tetradic
#CD7DC0 #CDB27D #7DCD8A #7D98CD
square
#CD7DC0 #CDB27D #7DCD8A #7D98CD
split-complementary
#CD7DC0 #98CD7D #7DCDB2
monochromatic
#963A87 #BC51AB #CD7DC0 #DEA9D5 #EFD5EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7DC0#FFFFFF#000000##000000
##CD7DC01.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)
#7C91C2
Deuteranopia (green-blind)
#909CBE
Tritanopia (blue-blind)
#D48196
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7dc0;
/* rgb */ color: rgb(205, 125, 192);
/* oklch */ color: oklch(69.6% 0.131 333.0);
Tailwind
colors: {
  custom: {
    50: '#dda4d3',
    500: '#cd7dc0',
    950: '#000000',
  },
}
SCSS
$custom: #cd7dc0;
$custom-light: #dda4d3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7dc0",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 192
  },
  "hsl": {
    "h": 309.75,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69645,
    "c": 0.13086,
    "h": 333
  },
  "luminance": 0.31452
}

Semantic roles & 50–950 ramp

primary
#CD7DC0
secondary
#C5E1CA
accent
#B8442E
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CD7DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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