#CD96D5#CD96D5

#CD96D5 is a light, moderate purple. Relative luminance 0.396; OKLCH L 74.7% C 0.107 H 322.2°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#CD96D5
RGBrgb(205, 150, 213)
HSLhsl(292, 43%, 71%)
HSVhsv(292, 30%, 84%)
CMYKcmyk(3.8%, 29.6%, 0%, 16.5%)
CIE-LABlab(69.18, 31.26, -24.13)
CIE-LCHlch(69.18, 39.49, 322.34°)
OKLaboklab(74.67% 0.0845 -0.0655)
OKLCHoklch(74.67% 0.107 322.2)
XYZxyz(48.0920, 39.5973, 68.0476)
Luminance0.3960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96D5 #9ED596
analogous
#AD96D5 #CD96D5 #D596BD
triadic
#CD96D5 #D5CD96 #96D5CD
tetradic
#CD96D5 #D5AD96 #9ED596 #96BDD5
square
#CD96D5 #D5AD96 #9ED596 #96BDD5
split-complementary
#CD96D5 #BDD596 #96D5AD
monochromatic
#9F45AC #B86AC4 #CD96D5 #E2C2E6 #F5E9F6

Accessibility & contrast

On white

2.35
#CD96D5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#CD96D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96D5
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96D5#FFFFFF#000000##000000
##CD96D51.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A5D7
Deuteranopia (green-blind)
#9DABD3
Tritanopia (blue-blind)
#CF9CAD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd96d5;
/* rgb */ color: rgb(205, 150, 213);
/* oklch */ color: oklch(74.7% 0.107 322.2);
Tailwind
colors: {
  custom: {
    50: '#ddb5e2',
    500: '#cd96d5',
    950: '#000000',
  },
}
SCSS
$custom: #cd96d5;
$custom-light: #ddb5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96d5",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 213
  },
  "hsl": {
    "h": 292.381,
    "s": 42.857,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74668,
    "c": 0.10691,
    "h": 322.2
  },
  "luminance": 0.39596
}

Semantic roles & 50–950 ramp

primary
#CD96D5
secondary
#DDECDB
accent
#B63041
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD96D5

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

Preview Lab → · Contrast checker → · Palette generator →

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