#CD96DB#CD96DB

#CD96DB is a light, moderate purple. Relative luminance 0.399; OKLCH L 74.9% C 0.113 H 319.3°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#CD96DB
RGBrgb(205, 150, 219)
HSLhsl(288, 49%, 72%)
HSVhsv(288, 32%, 86%)
CMYKcmyk(6.4%, 31.5%, 0%, 14.1%)
CIE-LABlab(69.40, 32.44, -27.10)
CIE-LCHlch(69.40, 42.27, 320.12°)
OKLaboklab(74.91% 0.0861 -0.0739)
OKLCHoklch(74.91% 0.113 319.3)
XYZxyz(48.8677, 39.9075, 72.1328)
Luminance0.3991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96DB #A4DB96
analogous
#AB96DB #CD96DB #DB96C7
triadic
#CD96DB #DBCD96 #96DBCD
tetradic
#CD96DB #DBAB96 #A4DB96 #96C7DB
square
#CD96DB #DBAB96 #A4DB96 #96C7DB
split-complementary
#CD96DB #C7DB96 #96DBAB
monochromatic
#9F3FB8 #B768CB #CD96DB #E3C4EB #F4E8F7

Accessibility & contrast

On white

2.34
#CD96DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#CD96DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96DB
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96DB#FFFFFF#000000##000000
##CD96DB1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA6DE
Deuteranopia (green-blind)
#9AABD9
Tritanopia (blue-blind)
#CE9EAF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd96db;
/* rgb */ color: rgb(205, 150, 219);
/* oklch */ color: oklch(74.9% 0.113 319.3);
Tailwind
colors: {
  custom: {
    50: '#ddb5e6',
    500: '#cd96db',
    950: '#000000',
  },
}
SCSS
$custom: #cd96db;
$custom-light: #ddb5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96db",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 219
  },
  "hsl": {
    "h": 287.826,
    "s": 48.936,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7491,
    "c": 0.11346,
    "h": 319.3
  },
  "luminance": 0.39906
}

Semantic roles & 50–950 ramp

primary
#CD96DB
secondary
#E0EEDD
accent
#BC2947
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD96DB

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

Preview Lab → · Contrast checker → · Palette generator →

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