#CD99DB#CD99DB

#CD99DB is a light, moderate purple. Relative luminance 0.409; OKLCH L 75.4% C 0.108 H 319.0°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#CD99DB
RGBrgb(205, 153, 219)
HSLhsl(287, 48%, 73%)
HSVhsv(287, 30%, 86%)
CMYKcmyk(6.4%, 30.1%, 0%, 14.1%)
CIE-LABlab(70.09, 30.80, -26.05)
CIE-LCHlch(70.09, 40.34, 319.78°)
OKLaboklab(75.43% 0.0816 -0.071)
OKLCHoklch(75.43% 0.108 319)
XYZxyz(49.3525, 40.8772, 72.2944)
Luminance0.4088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99DB #A7DB99
analogous
#AC99DB #CD99DB #DB99C8
triadic
#CD99DB #DBCD99 #99DBCD
tetradic
#CD99DB #DBAC99 #A7DB99 #99C8DB
square
#CD99DB #DBAC99 #A7DB99 #99C8DB
split-complementary
#CD99DB #C8DB99 #99DBAC
monochromatic
#9F41B8 #B76CCB #CD99DB #E3C6EB #F4E8F7

Accessibility & contrast

On white

2.29
#CD99DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#CD99DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99DB
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99DB#FFFFFF#000000##000000
##CD99DB1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A8DE
Deuteranopia (green-blind)
#9DADD9
Tritanopia (blue-blind)
#CEA0B1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd99db;
/* rgb */ color: rgb(205, 153, 219);
/* oklch */ color: oklch(75.4% 0.108 319.0);
Tailwind
colors: {
  custom: {
    50: '#ddb7e6',
    500: '#cd99db',
    950: '#000000',
  },
}
SCSS
$custom: #cd99db;
$custom-light: #ddb7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99db",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 219
  },
  "hsl": {
    "h": 287.273,
    "s": 47.826,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75432,
    "c": 0.10816,
    "h": 319
  },
  "luminance": 0.40876
}

Semantic roles & 50–950 ramp

primary
#CD99DB
secondary
#E1EEDD
accent
#BB2A49
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD99DB

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

Preview Lab → · Contrast checker → · Palette generator →

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