#CD7DC9#CD7DC9

#CD7DC9 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.0% C 0.139 H 328.7°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#CD7DC9
RGBrgb(205, 125, 201)
HSLhsl(303, 44%, 65%)
HSVhsv(303, 39%, 80%)
CMYKcmyk(0%, 39%, 2%, 19.6%)
CIE-LABlab(63.23, 42.48, -26.57)
CIE-LCHlch(63.23, 50.10, 327.98°)
OKLaboklab(70.02% 0.1188 -0.0722)
OKLCHoklch(70.02% 0.139 328.7)
XYZxyz(43.0524, 31.8654, 59.1299)
Luminance0.3186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DC9 #7DCD81
analogous
#A97DCD #CD7DC9 #CD7DA1
triadic
#CD7DC9 #C9CD7D #7DC9CD
tetradic
#CD7DC9 #CDA97D #7DCD81 #7DA1CD
square
#CD7DC9 #CDA97D #7DCD81 #7DA1CD
split-complementary
#CD7DC9 #A1CD7D #7DCDA9
monochromatic
#963A91 #BC51B7 #CD7DC9 #DEA9DB #EFD5EE

Accessibility & contrast

On white

2.85
#CD7DC9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#CD7DC9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DC9
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DC9#FFFFFF#000000##000000
##CD7DC91.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7892CC
Deuteranopia (green-blind)
#8D9DC6
Tritanopia (blue-blind)
#D2849A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7dc9;
/* rgb */ color: rgb(205, 125, 201);
/* oklch */ color: oklch(70.0% 0.139 328.7);
Tailwind
colors: {
  custom: {
    50: '#dea4d9',
    500: '#cd7dc9',
    950: '#000000',
  },
}
SCSS
$custom: #cd7dc9;
$custom-light: #dea4d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7dc9",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 201
  },
  "hsl": {
    "h": 303,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70016,
    "c": 0.13906,
    "h": 328.7
  },
  "luminance": 0.31863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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