#CC99DC#CC99DC

#CC99DC is a light, moderate purple. Relative luminance 0.408; OKLCH L 75.4% C 0.109 H 318.0°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#CC99DC
RGBrgb(204, 153, 220)
HSLhsl(286, 49%, 73%)
HSVhsv(286, 30%, 86%)
CMYKcmyk(7.3%, 30.5%, 0%, 13.7%)
CIE-LABlab(70.03, 30.68, -26.70)
CIE-LCHlch(70.03, 40.68, 318.96°)
OKLaboklab(75.37% 0.0808 -0.0728)
OKLCHoklch(75.37% 0.109 318)
XYZxyz(49.2095, 40.7882, 72.9769)
Luminance0.4079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC99DC #A9DC99
analogous
#AA99DC #CC99DC #DC99CA
triadic
#CC99DC #DCCC99 #99DCCC
tetradic
#CC99DC #DCAA99 #A9DC99 #99CADC
square
#CC99DC #DCAA99 #A9DC99 #99CADC
split-complementary
#CC99DC #CADC99 #99DCAA
monochromatic
#9D40BB #B56BCC #CC99DC #E3C7EC #F4E8F7

Accessibility & contrast

On white

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

On black

9.16
#CC99DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC99DC
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC99DC#FFFFFF#000000##000000
##CC99DC1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A8DF
Deuteranopia (green-blind)
#9CADDA
Tritanopia (blue-blind)
#CCA1B1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cc99dc;
/* rgb */ color: rgb(204, 153, 220);
/* oklch */ color: oklch(75.4% 0.109 318.0);
Tailwind
colors: {
  custom: {
    50: '#dcb7e7',
    500: '#cc99dc',
    950: '#000000',
  },
}
SCSS
$custom: #cc99dc;
$custom-light: #dcb7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc99dc",
  "rgb": {
    "r": 204,
    "g": 153,
    "b": 220
  },
  "hsl": {
    "h": 285.672,
    "s": 48.905,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75374,
    "c": 0.10874,
    "h": 318
  },
  "luminance": 0.40787
}

Semantic roles & 50–950 ramp

primary
#CC99DC
secondary
#E1EEDD
accent
#BC294C
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC99DC

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

Preview Lab → · Contrast checker → · Palette generator →

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