#CD96D8#CD96D8

#CD96D8 is a light, moderate purple. Relative luminance 0.398; OKLCH L 74.8% C 0.110 H 320.7°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#CD96D8
RGBrgb(205, 150, 216)
HSLhsl(290, 46%, 72%)
HSVhsv(290, 31%, 85%)
CMYKcmyk(5.1%, 30.6%, 0%, 15.3%)
CIE-LABlab(69.29, 31.85, -25.62)
CIE-LCHlch(69.29, 40.87, 321.19°)
OKLaboklab(74.79% 0.0853 -0.0697)
OKLCHoklch(74.79% 0.11 320.7)
XYZxyz(48.4763, 39.7510, 70.0715)
Luminance0.3975 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96D8 #A1D896
analogous
#AC96D8 #CD96D8 #D896C2
triadic
#CD96D8 #D8CD96 #96D8CD
tetradic
#CD96D8 #D8AC96 #A1D896 #96C2D8
square
#CD96D8 #D8AC96 #A1D896 #96C2D8
split-complementary
#CD96D8 #C2D896 #96D8AC
monochromatic
#9F42B2 #B869C7 #CD96D8 #E2C3E9 #F4E9F7

Accessibility & contrast

On white

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

On black

8.95
#CD96D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96D8
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96D8#FFFFFF#000000##000000
##CD96D81.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA5DB
Deuteranopia (green-blind)
#9CABD6
Tritanopia (blue-blind)
#CE9DAE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd96d8;
/* rgb */ color: rgb(205, 150, 216);
/* oklch */ color: oklch(74.8% 0.110 320.7);
Tailwind
colors: {
  custom: {
    50: '#ddb5e4',
    500: '#cd96d8',
    950: '#000000',
  },
}
SCSS
$custom: #cd96d8;
$custom-light: #ddb5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96d8",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 216
  },
  "hsl": {
    "h": 290,
    "s": 45.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74788,
    "c": 0.11016,
    "h": 320.7
  },
  "luminance": 0.3975
}

Semantic roles & 50–950 ramp

primary
#CD96D8
secondary
#DFEDDD
accent
#B92C44
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD96D8

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

Preview Lab → · Contrast checker → · Palette generator →

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