#CC99FF#CC99FF

#CC99FF is a light, vivid violet. Relative luminance 0.428; OKLCH L 76.9% C 0.150 H 306.2°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#CC99FF
RGBrgb(204, 153, 255)
HSLhsl(270, 100%, 80%)
HSVhsv(270, 40%, 100%)
CMYKcmyk(20%, 40%, 0%, 0%)
CIE-LABlab(71.45, 38.06, -43.63)
CIE-LCHlch(71.45, 57.90, 311.10°)
OKLaboklab(76.92% 0.0887 -0.1212)
OKLCHoklch(76.92% 0.15 306.2)
XYZxyz(54.3395, 42.8402, 99.9947)
Luminance0.4284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC99FF #CCFF99
analogous
#9999FF #CC99FF #FF99FF
triadic
#CC99FF #FFCC99 #99FFCC
tetradic
#CC99FF #FF9999 #CCFF99 #99FFFF
square
#CC99FF #FF9999 #CCFF99 #99FFFF
split-complementary
#CC99FF #FFFF99 #99FF99
monochromatic
#8F1FFF #AD5CFF #CC99FF #EBD6FF #F0E0FF

Accessibility & contrast

On white

2.19
#CC99FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#CC99FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC99FF
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC99FF#FFFFFF#000000##000000
##CC99FF1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#8DAFFC
Tritanopia (blue-blind)
#C4A9C0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cc99ff;
/* rgb */ color: rgb(204, 153, 255);
/* oklch */ color: oklch(76.9% 0.150 306.2);
Tailwind
colors: {
  custom: {
    50: '#ddb8ff',
    500: '#cc99ff',
    950: '#000000',
  },
}
SCSS
$custom: #cc99ff;
$custom-light: #ddb8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc99ff",
  "rgb": {
    "r": 204,
    "g": 153,
    "b": 255
  },
  "hsl": {
    "h": 270,
    "s": 100,
    "l": 80
  },
  "oklch": {
    "l": 0.76917,
    "c": 0.15019,
    "h": 306.2
  },
  "luminance": 0.4284
}

Semantic roles & 50–950 ramp

primary
#CC99FF
secondary
#E6F7D4
accent
#E60073
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC99FF

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

Preview Lab → · Contrast checker → · Palette generator →

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