#CD96CC#CD96CC

#CD96CC is a light, moderate purple. Relative luminance 0.392; OKLCH L 74.3% C 0.098 H 327.1°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CD96CC
RGBrgb(205, 150, 204)
HSLhsl(301, 35%, 70%)
HSVhsv(301, 27%, 80%)
CMYKcmyk(0%, 26.8%, 0.5%, 19.6%)
CIE-LABlab(68.86, 29.55, -19.63)
CIE-LCHlch(68.86, 35.48, 326.40°)
OKLaboklab(74.32% 0.0819 -0.053)
OKLCHoklch(74.32% 0.098 327.1)
XYZxyz(46.9812, 39.1529, 62.1975)
Luminance0.3915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96CC #96CD97
analogous
#B396CD #CD96CC #CD96B1
triadic
#CD96CC #CCCD96 #96CCCD
tetradic
#CD96CC #CDB396 #96CD97 #96B1CD
square
#CD96CC #CDB396 #96CD97 #96B1CD
split-complementary
#CD96CC #B1CD96 #96CDB3
monochromatic
#9E4B9C #B96DB8 #CD96CC #E1BFE0 #F4E9F4

Accessibility & contrast

On white

2.38
#CD96CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#CD96CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96CC
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96CC#FFFFFF#000000##000000
##CD96CC1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A4CE
Deuteranopia (green-blind)
#9FABCA
Tritanopia (blue-blind)
#D19AA9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd96cc;
/* rgb */ color: rgb(205, 150, 204);
/* oklch */ color: oklch(74.3% 0.098 327.1);
Tailwind
colors: {
  custom: {
    50: '#ddb5db',
    500: '#cd96cc',
    950: '#000000',
  },
}
SCSS
$custom: #cd96cc;
$custom-light: #ddb5db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96cc",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 204
  },
  "hsl": {
    "h": 301.091,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74318,
    "c": 0.09752,
    "h": 327.1
  },
  "luminance": 0.39151
}

Semantic roles & 50–950 ramp

primary
#CD96CC
secondary
#D8E7D8
accent
#AE3937
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD96CC

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

Preview Lab → · Contrast checker → · Palette generator →

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