#CC99CC#CC99CC

#CC99CC is a light, moderate purple. Relative luminance 0.400; OKLCH L 74.7% C 0.091 H 326.4°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#CC99CC
RGBrgb(204, 153, 204)
HSLhsl(300, 33%, 70%)
HSVhsv(300, 25%, 80%)
CMYKcmyk(0%, 25%, 0%, 20%)
CIE-LABlab(69.46, 27.58, -18.74)
CIE-LCHlch(69.46, 33.34, 325.80°)
OKLaboklab(74.75% 0.0762 -0.0505)
OKLCHoklch(74.75% 0.091 326.4)
XYZxyz(47.1910, 39.9808, 62.3462)
Luminance0.3998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC99CC #99CC99
analogous
#B299CC #CC99CC #CC99B3
triadic
#CC99CC #CCCC99 #99CCCC
tetradic
#CC99CC #CCB399 #99CC99 #99B2CC
square
#CC99CC #CCB399 #99CC99 #99B2CC
split-complementary
#CC99CC #B3CC99 #99CCB3
monochromatic
#9C4E9C #B870B8 #CC99CC #E0C2E0 #F5EBF5

Accessibility & contrast

On white

2.33
#CC99CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#CC99CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC99CC
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC99CC#FFFFFF#000000##000000
##CC99CC1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A6CE
Deuteranopia (green-blind)
#A1ACCA
Tritanopia (blue-blind)
#CF9DAB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cc99cc;
/* rgb */ color: rgb(204, 153, 204);
/* oklch */ color: oklch(74.7% 0.091 326.4);
Tailwind
colors: {
  custom: {
    50: '#dcb7db',
    500: '#cc99cc',
    950: '#000000',
  },
}
SCSS
$custom: #cc99cc;
$custom-light: #dcb7db;
$custom-dark: #000000;
JSON
{
  "hex": "#cc99cc",
  "rgb": {
    "r": 204,
    "g": 153,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 33.333,
    "l": 70
  },
  "oklch": {
    "l": 0.74749,
    "c": 0.0914,
    "h": 326.4
  },
  "luminance": 0.39979
}

Semantic roles & 50–950 ramp

primary
#CC99CC
secondary
#D9E8D9
accent
#AC3939
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CC99CC

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

Preview Lab → · Contrast checker → · Palette generator →

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