#CC99DF#CC99DF

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

Color values

HEX#CC99DF
RGBrgb(204, 153, 223)
HSLhsl(284, 52%, 74%)
HSVhsv(284, 31%, 87%)
CMYKcmyk(8.5%, 31.4%, 0%, 12.5%)
CIE-LABlab(70.14, 31.28, -28.18)
CIE-LCHlch(70.14, 42.11, 317.99°)
OKLaboklab(75.5% 0.0815 -0.077)
OKLCHoklch(75.5% 0.112 316.6)
XYZxyz(49.6104, 40.9486, 75.0882)
Luminance0.4095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC99DF #ACDF99
analogous
#A999DF #CC99DF #DF99CF
triadic
#CC99DF #DFCC99 #99DFCC
tetradic
#CC99DF #DFA999 #ACDF99 #99CFDF
square
#CC99DF #DFA999 #ACDF99 #99CFDF
split-complementary
#CC99DF #CFDF99 #99DFA9
monochromatic
#9D3DC1 #B56AD0 #CC99DF #E3C8EE #F3E8F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC99DF#FFFFFF#000000##000000
##CC99DF1.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)
#8FA8E2
Deuteranopia (green-blind)
#9BADDD
Tritanopia (blue-blind)
#CCA1B2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cc99df;
/* rgb */ color: rgb(204, 153, 223);
/* oklch */ color: oklch(75.5% 0.112 316.6);
Tailwind
colors: {
  custom: {
    50: '#dcb7e9',
    500: '#cc99df',
    950: '#000000',
  },
}
SCSS
$custom: #cc99df;
$custom-light: #dcb7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc99df",
  "rgb": {
    "r": 204,
    "g": 153,
    "b": 223
  },
  "hsl": {
    "h": 283.714,
    "s": 52.239,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75497,
    "c": 0.11216,
    "h": 316.6
  },
  "luminance": 0.40948
}

Semantic roles & 50–950 ramp

primary
#CC99DF
secondary
#E1EFDC
accent
#C02650
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC99DF

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

Preview Lab → · Contrast checker → · Palette generator →

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