#CD96CB#CD96CB

#CD96CB is a light, moderate purple. Relative luminance 0.391; OKLCH L 74.3% C 0.097 H 327.7°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#CD96CB
RGBrgb(205, 150, 203)
HSLhsl(302, 35%, 70%)
HSVhsv(302, 27%, 80%)
CMYKcmyk(0%, 26.8%, 1%, 19.6%)
CIE-LABlab(68.83, 29.36, -19.13)
CIE-LCHlch(68.83, 35.05, 326.92°)
OKLaboklab(74.28% 0.0816 -0.0516)
OKLCHoklch(74.28% 0.097 327.7)
XYZxyz(46.8617, 39.1051, 61.5679)
Luminance0.3910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96CB #96CD98
analogous
#B496CD #CD96CB #CD96B0
triadic
#CD96CB #CBCD96 #96CBCD
tetradic
#CD96CB #CDB496 #96CD98 #96B0CD
square
#CD96CB #CDB496 #96CD98 #96B0CD
split-complementary
#CD96CB #B0CD96 #96CDB4
monochromatic
#9E4B9B #B96DB6 #CD96CB #E1BFE0 #F4E9F4

Accessibility & contrast

On white

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

On black

8.82
#CD96CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96CB
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96CB#FFFFFF#000000##000000
##CD96CB1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A4CD
Deuteranopia (green-blind)
#A0AAC9
Tritanopia (blue-blind)
#D19AA9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd96cb;
/* rgb */ color: rgb(205, 150, 203);
/* oklch */ color: oklch(74.3% 0.097 327.7);
Tailwind
colors: {
  custom: {
    50: '#ddb5db',
    500: '#cd96cb',
    950: '#000000',
  },
}
SCSS
$custom: #cd96cb;
$custom-light: #ddb5db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96cb",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 203
  },
  "hsl": {
    "h": 302.182,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7428,
    "c": 0.09651,
    "h": 327.7
  },
  "luminance": 0.39104
}

Semantic roles & 50–950 ramp

primary
#CD96CB
secondary
#D8E7D8
accent
#AE3B37
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151115
muted
#838083

Preview Lab

Preview with #CD96CB

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

Preview Lab → · Contrast checker → · Palette generator →

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