#CD96DC#CD96DC

#CD96DC is a light, moderate purple. Relative luminance 0.400; OKLCH L 75.0% C 0.115 H 318.9°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#CD96DC
RGBrgb(205, 150, 220)
HSLhsl(287, 50%, 73%)
HSVhsv(287, 32%, 86%)
CMYKcmyk(6.8%, 31.8%, 0%, 13.7%)
CIE-LABlab(69.44, 32.64, -27.60)
CIE-LCHlch(69.44, 42.74, 319.78°)
OKLaboklab(74.95% 0.0863 -0.0753)
OKLCHoklch(74.95% 0.115 318.9)
XYZxyz(48.9997, 39.9603, 72.8282)
Luminance0.3996 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96DC #A5DC96
analogous
#AA96DC #CD96DC #DC96C8
triadic
#CD96DC #DCCD96 #96DCCD
tetradic
#CD96DC #DCAA96 #A5DC96 #96C8DC
square
#CD96DC #DCAA96 #A5DC96 #96C8DC
split-complementary
#CD96DC #C8DC96 #96DCAA
monochromatic
#9F3EBA #B768CD #CD96DC #E3C4EB #F4E8F7

Accessibility & contrast

On white

2.34
#CD96DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#CD96DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96DC
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96DC#FFFFFF#000000##000000
##CD96DC1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA6DF
Deuteranopia (green-blind)
#9AACDA
Tritanopia (blue-blind)
#CE9EAF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd96dc;
/* rgb */ color: rgb(205, 150, 220);
/* oklch */ color: oklch(75.0% 0.115 318.9);
Tailwind
colors: {
  custom: {
    50: '#ddb5e7',
    500: '#cd96dc',
    950: '#000000',
  },
}
SCSS
$custom: #cd96dc;
$custom-light: #ddb5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96dc",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 220
  },
  "hsl": {
    "h": 287.143,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74951,
    "c": 0.11458,
    "h": 318.9
  },
  "luminance": 0.39959
}

Semantic roles & 50–950 ramp

primary
#CD96DC
secondary
#E0EEDD
accent
#BD2848
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD96DC

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

Preview Lab → · Contrast checker → · Palette generator →

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