#CD96C8#CD96C8

#CD96C8 is a light, moderate purple. Relative luminance 0.390; OKLCH L 74.2% C 0.094 H 329.6°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#CD96C8
RGBrgb(205, 150, 200)
HSLhsl(305, 35%, 70%)
HSVhsv(305, 27%, 80%)
CMYKcmyk(0%, 26.8%, 2.4%, 19.6%)
CIE-LABlab(68.72, 28.81, -17.62)
CIE-LCHlch(68.72, 33.77, 328.55°)
OKLaboklab(74.17% 0.0807 -0.0474)
OKLCHoklch(74.17% 0.094 329.6)
XYZxyz(46.5076, 38.9635, 59.7032)
Luminance0.3896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96C8 #96CD9B
analogous
#B796CD #CD96C8 #CD96AC
triadic
#CD96C8 #C8CD96 #96C8CD
tetradic
#CD96C8 #CDB796 #96CD9B #96ACCD
square
#CD96C8 #CDB796 #96CD9B #96ACCD
split-complementary
#CD96C8 #ACCD96 #96CDB7
monochromatic
#9E4B96 #B96DB2 #CD96C8 #E1BFDE #F4E9F3

Accessibility & contrast

On white

2.39
#CD96C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#CD96C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96C8
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96C8#FFFFFF#000000##000000
##CD96C81.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A3CA
Deuteranopia (green-blind)
#A1AAC6
Tritanopia (blue-blind)
#D19AA8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd96c8;
/* rgb */ color: rgb(205, 150, 200);
/* oklch */ color: oklch(74.2% 0.094 329.6);
Tailwind
colors: {
  custom: {
    50: '#ddb5d8',
    500: '#cd96c8',
    950: '#000000',
  },
}
SCSS
$custom: #cd96c8;
$custom-light: #ddb5d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96c8",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 200
  },
  "hsl": {
    "h": 305.455,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74168,
    "c": 0.09355,
    "h": 329.6
  },
  "luminance": 0.38962
}

Semantic roles & 50–950 ramp

primary
#CD96C8
secondary
#D8E7D9
accent
#AE4237
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CD96C8

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

Preview Lab → · Contrast checker → · Palette generator →

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