#CC99FC#CC99FC

#CC99FC is a light, vivid violet. Relative luminance 0.426; OKLCH L 76.8% C 0.147 H 307.0°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#CC99FC
RGBrgb(204, 153, 252)
HSLhsl(271, 94%, 79%)
HSVhsv(271, 39%, 99%)
CMYKcmyk(19%, 39.3%, 0%, 1.2%)
CIE-LABlab(71.32, 37.40, -42.21)
CIE-LCHlch(71.32, 56.39, 311.54°)
OKLaboklab(76.78% 0.0881 -0.1171)
OKLCHoklch(76.78% 0.147 307)
XYZxyz(53.8603, 42.6486, 97.4712)
Luminance0.4265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC99FC #C9FC99
analogous
#9B99FC #CC99FC #FC99FB
triadic
#CC99FC #FCCC99 #99FCCC
tetradic
#CC99FC #FC9B99 #C9FC99 #99FBFC
square
#CC99FC #FC9B99 #C9FC99 #99FBFC
split-complementary
#CC99FC #FBFC99 #99FC9B
monochromatic
#9122F9 #AE5EFA #CC99FC #EAD4FE #F0E1FE

Accessibility & contrast

On white

2.20
#CC99FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#CC99FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC99FC
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC99FC#FFFFFF#000000##000000
##CC99FC1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ADFF
Deuteranopia (green-blind)
#8FAFF9
Tritanopia (blue-blind)
#C5A8BF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cc99fc;
/* rgb */ color: rgb(204, 153, 252);
/* oklch */ color: oklch(76.8% 0.147 307.0);
Tailwind
colors: {
  custom: {
    50: '#ddb7fd',
    500: '#cc99fc',
    950: '#000000',
  },
}
SCSS
$custom: #cc99fc;
$custom-light: #ddb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc99fc",
  "rgb": {
    "r": 204,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 270.909,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.76775,
    "c": 0.14655,
    "h": 307
  },
  "luminance": 0.42648
}

Semantic roles & 50–950 ramp

primary
#CC99FC
secondary
#E5F6D5
accent
#E6006F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC99FC

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

Preview Lab → · Contrast checker → · Palette generator →

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