#CD96D2#CD96D2

#CD96D2 is a light, moderate purple. Relative luminance 0.394; OKLCH L 74.5% C 0.104 H 323.7°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#CD96D2
RGBrgb(205, 150, 210)
HSLhsl(295, 40%, 71%)
HSVhsv(295, 29%, 82%)
CMYKcmyk(2.4%, 28.6%, 0%, 17.6%)
CIE-LABlab(69.07, 30.69, -22.64)
CIE-LCHlch(69.07, 38.13, 323.59°)
OKLaboklab(74.55% 0.0836 -0.0613)
OKLCHoklch(74.55% 0.104 323.7)
XYZxyz(47.7147, 39.4464, 66.0607)
Luminance0.3945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96D2 #9BD296
analogous
#AF96D2 #CD96D2 #D296B9
triadic
#CD96D2 #D2CD96 #96D2CD
tetradic
#CD96D2 #D2AF96 #9BD296 #96B9D2
square
#CD96D2 #D2AF96 #9BD296 #96B9D2
split-complementary
#CD96D2 #B9D296 #96D2AF
monochromatic
#9E47A6 #B96BC0 #CD96D2 #E1C1E4 #F5EAF6

Accessibility & contrast

On white

2.36
#CD96D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#CD96D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96D2
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96D2#FFFFFF#000000##000000
##CD96D21.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A4D4
Deuteranopia (green-blind)
#9EABD0
Tritanopia (blue-blind)
#D09CAB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd96d2;
/* rgb */ color: rgb(205, 150, 210);
/* oklch */ color: oklch(74.5% 0.104 323.7);
Tailwind
colors: {
  custom: {
    50: '#ddb5e0',
    500: '#cd96d2',
    950: '#000000',
  },
}
SCSS
$custom: #cd96d2;
$custom-light: #ddb5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96d2",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 210
  },
  "hsl": {
    "h": 295,
    "s": 40,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74549,
    "c": 0.10371,
    "h": 323.7
  },
  "luminance": 0.39445
}

Semantic roles & 50–950 ramp

primary
#CD96D2
secondary
#DBEADA
accent
#B3323D
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD96D2

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

Preview Lab → · Contrast checker → · Palette generator →

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