#CD9CD9#CD9CD9

#CD9CD9 is a light, moderate purple. Relative luminance 0.418; OKLCH L 75.9% C 0.101 H 319.6°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#CD9CD9
RGBrgb(205, 156, 217)
HSLhsl(288, 45%, 73%)
HSVhsv(288, 28%, 85%)
CMYKcmyk(5.5%, 28.1%, 0%, 14.9%)
CIE-LABlab(70.71, 28.77, -24.00)
CIE-LCHlch(70.71, 37.46, 320.16°)
OKLaboklab(75.88% 0.0766 -0.0652)
OKLCHoklch(75.88% 0.101 319.6)
XYZxyz(49.5880, 41.7670, 71.0818)
Luminance0.4177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CD9 #A8D99C
analogous
#AE9CD9 #CD9CD9 #D99CC6
triadic
#CD9CD9 #D9CD9C #9CD9CD
tetradic
#CD9CD9 #D9AE9C #A8D99C #9CC6D9
square
#CD9CD9 #D9AE9C #A8D99C #9CC6D9
split-complementary
#CD9CD9 #C6D99C #9CD9AE
monochromatic
#9F46B5 #B770C8 #CD9CD9 #E3C8EA #F4E9F7

Accessibility & contrast

On white

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

On black

9.35
#CD9CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CD9
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CD9#FFFFFF#000000##000000
##CD9CD91.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95AADB
Deuteranopia (green-blind)
#A0AFD7
Tritanopia (blue-blind)
#CEA3B2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd9cd9;
/* rgb */ color: rgb(205, 156, 217);
/* oklch */ color: oklch(75.9% 0.101 319.6);
Tailwind
colors: {
  custom: {
    50: '#ddb9e5',
    500: '#cd9cd9',
    950: '#000000',
  },
}
SCSS
$custom: #cd9cd9;
$custom-light: #ddb9e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9cd9",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 217
  },
  "hsl": {
    "h": 288.197,
    "s": 44.526,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75881,
    "c": 0.10061,
    "h": 319.6
  },
  "luminance": 0.41766
}

Semantic roles & 50–950 ramp

primary
#CD9CD9
secondary
#E1EDDE
accent
#B82E49
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151115
muted
#838084

Preview Lab

Preview with #CD9CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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