#CD96D3#CD96D3

#CD96D3 is a light, moderate purple. Relative luminance 0.395; OKLCH L 74.6% C 0.105 H 323.2°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#CD96D3
RGBrgb(205, 150, 211)
HSLhsl(294, 41%, 71%)
HSVhsv(294, 29%, 83%)
CMYKcmyk(2.8%, 28.9%, 0%, 17.3%)
CIE-LABlab(69.11, 30.88, -23.13)
CIE-LCHlch(69.11, 38.58, 323.16°)
OKLaboklab(74.59% 0.0839 -0.0627)
OKLCHoklch(74.59% 0.105 323.2)
XYZxyz(47.8397, 39.4963, 66.7189)
Luminance0.3950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96D3 #9CD396
analogous
#AE96D3 #CD96D3 #D396BA
triadic
#CD96D3 #D3CD96 #96D3CD
tetradic
#CD96D3 #D3AE96 #9CD396 #96BAD3
square
#CD96D3 #D3AE96 #9CD396 #96BAD3
split-complementary
#CD96D3 #BAD396 #96D3AE
monochromatic
#9F46A8 #B86BC1 #CD96D3 #E2C1E5 #F5E9F6

Accessibility & contrast

On white

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

On black

8.90
#CD96D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96D3
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96D3#FFFFFF#000000##000000
##CD96D31.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A5D5
Deuteranopia (green-blind)
#9DABD1
Tritanopia (blue-blind)
#CF9CAC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd96d3;
/* rgb */ color: rgb(205, 150, 211);
/* oklch */ color: oklch(74.6% 0.105 323.2);
Tailwind
colors: {
  custom: {
    50: '#ddb5e0',
    500: '#cd96d3',
    950: '#000000',
  },
}
SCSS
$custom: #cd96d3;
$custom-light: #ddb5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96d3",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 211
  },
  "hsl": {
    "h": 294.098,
    "s": 40.94,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74589,
    "c": 0.10477,
    "h": 323.2
  },
  "luminance": 0.39495
}

Semantic roles & 50–950 ramp

primary
#CD96D3
secondary
#DCEBDA
accent
#B4323E
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD96D3

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

Preview Lab → · Contrast checker → · Palette generator →

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