#CD9CD5#CD9CD5

#CD9CD5 is a light, moderate purple. Relative luminance 0.416; OKLCH L 75.7% C 0.096 H 321.7°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#CD9CD5
RGBrgb(205, 156, 213)
HSLhsl(292, 40%, 72%)
HSVhsv(292, 27%, 84%)
CMYKcmyk(3.8%, 26.8%, 0%, 16.5%)
CIE-LABlab(70.57, 27.98, -22.01)
CIE-LCHlch(70.57, 35.61, 321.81°)
OKLaboklab(75.72% 0.0755 -0.0597)
OKLCHoklch(75.72% 0.096 321.7)
XYZxyz(49.0740, 41.5614, 68.3749)
Luminance0.4156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CD5 #A4D59C
analogous
#B19CD5 #CD9CD5 #D59CC1
triadic
#CD9CD5 #D5CD9C #9CD5CD
tetradic
#CD9CD5 #D5B19C #A4D59C #9CC1D5
square
#CD9CD5 #D5B19C #A4D59C #9CC1D5
split-complementary
#CD9CD5 #C1D59C #9CD5B1
monochromatic
#9F49AD #B771C3 #CD9CD5 #E3C7E7 #F4EAF6

Accessibility & contrast

On white

2.26
#CD9CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#CD9CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CD5
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CD5#FFFFFF#000000##000000
##CD9CD51.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A9D7
Deuteranopia (green-blind)
#A1AFD3
Tritanopia (blue-blind)
#CFA2B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd9cd5;
/* rgb */ color: rgb(205, 156, 213);
/* oklch */ color: oklch(75.7% 0.096 321.7);
Tailwind
colors: {
  custom: {
    50: '#ddb9e2',
    500: '#cd9cd5',
    950: '#000000',
  },
}
SCSS
$custom: #cd9cd5;
$custom-light: #ddb9e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9cd5",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 213
  },
  "hsl": {
    "h": 291.579,
    "s": 40.426,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75725,
    "c": 0.09619,
    "h": 321.7
  },
  "luminance": 0.4156
}

Semantic roles & 50–950 ramp

primary
#CD9CD5
secondary
#E0EDDE
accent
#B33244
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD9CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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