#CD96D7#CD96D7

#CD96D7 is a light, moderate purple. Relative luminance 0.397; OKLCH L 74.7% C 0.109 H 321.2°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#CD96D7
RGBrgb(205, 150, 215)
HSLhsl(291, 45%, 72%)
HSVhsv(291, 30%, 84%)
CMYKcmyk(4.7%, 30.2%, 0%, 15.7%)
CIE-LABlab(69.25, 31.65, -25.12)
CIE-LCHlch(69.25, 40.41, 321.56°)
OKLaboklab(74.75% 0.085 -0.0683)
OKLCHoklch(74.75% 0.109 321.2)
XYZxyz(48.3474, 39.6994, 69.3927)
Luminance0.3970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96D7 #A0D796
analogous
#AD96D7 #CD96D7 #D796C1
triadic
#CD96D7 #D7CD96 #96D7CD
tetradic
#CD96D7 #D7AD96 #A0D796 #96C1D7
square
#CD96D7 #D7AD96 #A0D796 #96C1D7
split-complementary
#CD96D7 #C1D796 #96D7AD
monochromatic
#9F43B0 #B86AC6 #CD96D7 #E2C2E8 #F4E9F7

Accessibility & contrast

On white

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

On black

8.94
#CD96D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96D7
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96D7#FFFFFF#000000##000000
##CD96D71.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA5DA
Deuteranopia (green-blind)
#9CABD5
Tritanopia (blue-blind)
#CF9DAD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd96d7;
/* rgb */ color: rgb(205, 150, 215);
/* oklch */ color: oklch(74.7% 0.109 321.2);
Tailwind
colors: {
  custom: {
    50: '#ddb5e3',
    500: '#cd96d7',
    950: '#000000',
  },
}
SCSS
$custom: #cd96d7;
$custom-light: #ddb5e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96d7",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 215
  },
  "hsl": {
    "h": 290.769,
    "s": 44.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74748,
    "c": 0.10907,
    "h": 321.2
  },
  "luminance": 0.39698
}

Semantic roles & 50–950 ramp

primary
#CD96D7
secondary
#DFEDDC
accent
#B82E43
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD96D7

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

Preview Lab → · Contrast checker → · Palette generator →

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