#CD96CE#CD96CE

#CD96CE is a light, moderate purple. Relative luminance 0.392; OKLCH L 74.4% C 0.100 H 325.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#CD96CE
RGBrgb(205, 150, 206)
HSLhsl(299, 36%, 70%)
HSVhsv(299, 27%, 81%)
CMYKcmyk(0.5%, 27.2%, 0%, 19.2%)
CIE-LABlab(68.93, 29.93, -20.64)
CIE-LCHlch(68.93, 36.35, 325.41°)
OKLaboklab(74.4% 0.0825 -0.0558)
OKLCHoklch(74.4% 0.1 325.9)
XYZxyz(47.2226, 39.2495, 63.4689)
Luminance0.3925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96CE #97CE96
analogous
#B196CE #CD96CE #CE96B3
triadic
#CD96CE #CECD96 #96CECD
tetradic
#CD96CE #CEB196 #97CE96 #96B3CE
square
#CD96CE #CEB196 #97CE96 #96B3CE
split-complementary
#CD96CE #B3CE96 #96CEB1
monochromatic
#9E4A9F #B96CBB #CD96CE #E1C0E1 #F5E9F5

Accessibility & contrast

On white

2.37
#CD96CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#CD96CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96CE
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96CE#FFFFFF#000000##000000
##CD96CE1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A4D0
Deuteranopia (green-blind)
#9FABCC
Tritanopia (blue-blind)
#D09BAA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd96ce;
/* rgb */ color: rgb(205, 150, 206);
/* oklch */ color: oklch(74.4% 0.100 325.9);
Tailwind
colors: {
  custom: {
    50: '#ddb5dd',
    500: '#cd96ce',
    950: '#000000',
  },
}
SCSS
$custom: #cd96ce;
$custom-light: #ddb5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96ce",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 206
  },
  "hsl": {
    "h": 298.929,
    "s": 36.364,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74395,
    "c": 0.09954,
    "h": 325.9
  },
  "luminance": 0.39248
}

Semantic roles & 50–950 ramp

primary
#CD96CE
secondary
#D8E8D8
accent
#AF3638
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD96CE

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

Preview Lab → · Contrast checker → · Palette generator →

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