#CC99DD#CC99DD

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

Color values

HEX#CC99DD
RGBrgb(204, 153, 221)
HSLhsl(285, 50%, 73%)
HSVhsv(285, 31%, 87%)
CMYKcmyk(7.7%, 30.8%, 0%, 13.3%)
CIE-LABlab(70.06, 30.88, -27.20)
CIE-LCHlch(70.06, 41.15, 318.63°)
OKLaboklab(75.41% 0.081 -0.0742)
OKLCHoklch(75.41% 0.11 317.5)
XYZxyz(49.3423, 40.8414, 73.6765)
Luminance0.4084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC99DD #AADD99
analogous
#AA99DD #CC99DD #DD99CC
triadic
#CC99DD #DDCC99 #99DDCC
tetradic
#CC99DD #DDAA99 #AADD99 #99CCDD
square
#CC99DD #DDAA99 #AADD99 #99CCDD
split-complementary
#CC99DD #CCDD99 #99DDAA
monochromatic
#9D3FBD #B56BCE #CC99DD #E3C7EC #F4E8F7

Accessibility & contrast

On white

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

On black

9.17
#CC99DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC99DD
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC99DD#FFFFFF#000000##000000
##CC99DD1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A8E0
Deuteranopia (green-blind)
#9CADDB
Tritanopia (blue-blind)
#CCA1B2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cc99dd;
/* rgb */ color: rgb(204, 153, 221);
/* oklch */ color: oklch(75.4% 0.110 317.5);
Tailwind
colors: {
  custom: {
    50: '#dcb7e7',
    500: '#cc99dd',
    950: '#000000',
  },
}
SCSS
$custom: #cc99dd;
$custom-light: #dcb7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc99dd",
  "rgb": {
    "r": 204,
    "g": 153,
    "b": 221
  },
  "hsl": {
    "h": 285,
    "s": 50,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75415,
    "c": 0.10988,
    "h": 317.5
  },
  "luminance": 0.4084
}

Semantic roles & 50–950 ramp

primary
#CC99DD
secondary
#E1EEDD
accent
#BD284D
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC99DD

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

Preview Lab → · Contrast checker → · Palette generator →

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