#CD9CD7#CD9CD7

#CD9CD7 is a light, moderate purple. Relative luminance 0.417; OKLCH L 75.8% C 0.098 H 320.6°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#CD9CD7
RGBrgb(205, 156, 215)
HSLhsl(290, 42%, 73%)
HSVhsv(290, 27%, 84%)
CMYKcmyk(4.7%, 27.4%, 0%, 15.7%)
CIE-LABlab(70.64, 28.37, -23.01)
CIE-LCHlch(70.64, 36.53, 320.96°)
OKLaboklab(75.8% 0.076 -0.0624)
OKLCHoklch(75.8% 0.098 320.6)
XYZxyz(49.3294, 41.6635, 69.7201)
Luminance0.4166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CD7 #A6D79C
analogous
#B09CD7 #CD9CD7 #D79CC3
triadic
#CD9CD7 #D7CD9C #9CD7CD
tetradic
#CD9CD7 #D7B09C #A6D79C #9CC3D7
square
#CD9CD7 #D7B09C #A6D79C #9CC3D7
split-complementary
#CD9CD7 #C3D79C #9CD7B0
monochromatic
#9F48B1 #B770C5 #CD9CD7 #E3C8E9 #F4E9F6

Accessibility & contrast

On white

2.25
#CD9CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#CD9CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CD7
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CD7#FFFFFF#000000##000000
##CD9CD71.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A9D9
Deuteranopia (green-blind)
#A1AFD5
Tritanopia (blue-blind)
#CEA2B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd9cd7;
/* rgb */ color: rgb(205, 156, 215);
/* oklch */ color: oklch(75.8% 0.098 320.6);
Tailwind
colors: {
  custom: {
    50: '#ddb9e3',
    500: '#cd9cd7',
    950: '#000000',
  },
}
SCSS
$custom: #cd9cd7;
$custom-light: #ddb9e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9cd7",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 215
  },
  "hsl": {
    "h": 289.831,
    "s": 42.446,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75803,
    "c": 0.09838,
    "h": 320.6
  },
  "luminance": 0.41662
}

Semantic roles & 50–950 ramp

primary
#CD9CD7
secondary
#E0EDDE
accent
#B63047
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD9CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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