#CD99DC#CD99DC

#CD99DC is a light, moderate purple. Relative luminance 0.409; OKLCH L 75.5% C 0.109 H 318.5°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#CD99DC
RGBrgb(205, 153, 220)
HSLhsl(287, 49%, 73%)
HSVhsv(287, 30%, 86%)
CMYKcmyk(6.8%, 30.5%, 0%, 13.7%)
CIE-LABlab(70.13, 31.00, -26.54)
CIE-LCHlch(70.13, 40.81, 319.43°)
OKLaboklab(75.47% 0.0819 -0.0724)
OKLCHoklch(75.47% 0.109 318.5)
XYZxyz(49.4845, 40.9300, 72.9898)
Luminance0.4093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99DC #A8DC99
analogous
#AB99DC #CD99DC #DC99C9
triadic
#CD99DC #DCCD99 #99DCCD
tetradic
#CD99DC #DCAB99 #A8DC99 #99C9DC
square
#CD99DC #DCAB99 #A8DC99 #99C9DC
split-complementary
#CD99DC #C9DC99 #99DCAB
monochromatic
#9F40BB #B76BCC #CD99DC #E3C7EC #F4E8F7

Accessibility & contrast

On white

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

On black

9.19
#CD99DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99DC
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99DC#FFFFFF#000000##000000
##CD99DC1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A8DF
Deuteranopia (green-blind)
#9DADDA
Tritanopia (blue-blind)
#CEA1B1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd99dc;
/* rgb */ color: rgb(205, 153, 220);
/* oklch */ color: oklch(75.5% 0.109 318.5);
Tailwind
colors: {
  custom: {
    50: '#ddb7e7',
    500: '#cd99dc',
    950: '#000000',
  },
}
SCSS
$custom: #cd99dc;
$custom-light: #ddb7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99dc",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 220
  },
  "hsl": {
    "h": 286.567,
    "s": 48.905,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75473,
    "c": 0.10928,
    "h": 318.5
  },
  "luminance": 0.40929
}

Semantic roles & 50–950 ramp

primary
#CD99DC
secondary
#E1EEDD
accent
#BC294A
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD99DC

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

Preview Lab → · Contrast checker → · Palette generator →

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