#CC99DB#CC99DB

#CC99DB is a light, moderate purple. Relative luminance 0.407; OKLCH L 75.3% C 0.108 H 318.4°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#CC99DB
RGBrgb(204, 153, 219)
HSLhsl(286, 48%, 73%)
HSVhsv(286, 30%, 86%)
CMYKcmyk(6.8%, 30.1%, 0%, 14.1%)
CIE-LABlab(69.99, 30.48, -26.21)
CIE-LCHlch(69.99, 40.20, 319.31°)
OKLaboklab(75.33% 0.0805 -0.0714)
OKLCHoklch(75.33% 0.108 318.4)
XYZxyz(49.0775, 40.7354, 72.2815)
Luminance0.4073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC99DB #A8DB99
analogous
#AB99DB #CC99DB #DB99C9
triadic
#CC99DB #DBCC99 #99DBCC
tetradic
#CC99DB #DBAB99 #A8DB99 #99C9DB
square
#CC99DB #DBAB99 #A8DB99 #99C9DB
split-complementary
#CC99DB #C9DB99 #99DBAB
monochromatic
#9D41B8 #B56CCB #CC99DB #E3C6EB #F4E8F7

Accessibility & contrast

On white

2.30
#CC99DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#CC99DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC99DB
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC99DB#FFFFFF#000000##000000
##CC99DB1.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc99db;
/* rgb */ color: rgb(204, 153, 219);
/* oklch */ color: oklch(75.3% 0.108 318.4);
Tailwind
colors: {
  custom: {
    50: '#dcb7e6',
    500: '#cc99db',
    950: '#000000',
  },
}
SCSS
$custom: #cc99db;
$custom-light: #dcb7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc99db",
  "rgb": {
    "r": 204,
    "g": 153,
    "b": 219
  },
  "hsl": {
    "h": 286.364,
    "s": 47.826,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75333,
    "c": 0.10761,
    "h": 318.4
  },
  "luminance": 0.40734
}

Semantic roles & 50–950 ramp

primary
#CC99DB
secondary
#E1EEDD
accent
#BB2A4B
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC99DB

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

Preview Lab → · Contrast checker → · Palette generator →

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