#CD9CD8#CD9CD8

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

Color values

HEX#CD9CD8
RGBrgb(205, 156, 216)
HSLhsl(289, 43%, 73%)
HSVhsv(289, 28%, 85%)
CMYKcmyk(5.1%, 27.8%, 0%, 15.3%)
CIE-LABlab(70.67, 28.57, -23.50)
CIE-LCHlch(70.67, 36.99, 320.56°)
OKLaboklab(75.84% 0.0763 -0.0638)
OKLCHoklch(75.84% 0.099 320.1)
XYZxyz(49.4583, 41.7151, 70.3989)
Luminance0.4171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CD8 #A7D89C
analogous
#AF9CD8 #CD9CD8 #D89CC5
triadic
#CD9CD8 #D8CD9C #9CD8CD
tetradic
#CD9CD8 #D8AF9C #A7D89C #9CC5D8
square
#CD9CD8 #D8AF9C #A7D89C #9CC5D8
split-complementary
#CD9CD8 #C5D89C #9CD8AF
monochromatic
#9F47B3 #B770C7 #CD9CD8 #E3C8E9 #F4E9F6

Accessibility & contrast

On white

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

On black

9.34
#CD9CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CD8
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CD8#FFFFFF#000000##000000
##CD9CD81.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95AADA
Deuteranopia (green-blind)
#A0AFD6
Tritanopia (blue-blind)
#CEA2B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd9cd8;
/* rgb */ color: rgb(205, 156, 216);
/* oklch */ color: oklch(75.8% 0.099 320.1);
Tailwind
colors: {
  custom: {
    50: '#ddb9e4',
    500: '#cd9cd8',
    950: '#000000',
  },
}
SCSS
$custom: #cd9cd8;
$custom-light: #ddb9e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9cd8",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 216
  },
  "hsl": {
    "h": 289,
    "s": 43.478,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75842,
    "c": 0.09949,
    "h": 320.1
  },
  "luminance": 0.41714
}

Semantic roles & 50–950 ramp

primary
#CD9CD8
secondary
#E1EDDE
accent
#B72F48
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD9CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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