#CD7DC7#CD7DC7

#CD7DC7 is a light, vivid purple. Relative luminance 0.318; OKLCH L 69.9% C 0.137 H 329.6°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CD7DC7
RGBrgb(205, 125, 199)
HSLhsl(305, 44%, 65%)
HSVhsv(305, 39%, 80%)
CMYKcmyk(0%, 39%, 2.9%, 19.6%)
CIE-LABlab(63.15, 42.12, -25.56)
CIE-LCHlch(63.15, 49.26, 328.75°)
OKLaboklab(69.93% 0.1184 -0.0694)
OKLCHoklch(69.93% 0.137 329.6)
XYZxyz(42.8186, 31.7719, 57.8989)
Luminance0.3177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DC7 #7DCD83
analogous
#AB7DCD #CD7DC7 #CD7D9F
triadic
#CD7DC7 #C7CD7D #7DC7CD
tetradic
#CD7DC7 #CDAB7D #7DCD83 #7D9FCD
square
#CD7DC7 #CDAB7D #7DCD83 #7D9FCD
split-complementary
#CD7DC7 #9FCD7D #7DCDAB
monochromatic
#963A8F #BC51B4 #CD7DC7 #DEA9DA #EFD5ED

Accessibility & contrast

On white

2.86
#CD7DC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#CD7DC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DC7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DC7#FFFFFF#000000##000000
##CD7DC71.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7992CA
Deuteranopia (green-blind)
#8E9DC4
Tritanopia (blue-blind)
#D38399
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7dc7;
/* rgb */ color: rgb(205, 125, 199);
/* oklch */ color: oklch(69.9% 0.137 329.6);
Tailwind
colors: {
  custom: {
    50: '#dda4d8',
    500: '#cd7dc7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7dc7;
$custom-light: #dda4d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7dc7",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 304.5,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69932,
    "c": 0.13719,
    "h": 329.6
  },
  "luminance": 0.3177
}

Semantic roles & 50–950 ramp

primary
#CD7DC7
secondary
#C5E1C7
accent
#B8382E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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