#CC99FD#CC99FD

#CC99FD is a light, vivid violet. Relative luminance 0.427; OKLCH L 76.8% C 0.148 H 306.7°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#CC99FD
RGBrgb(204, 153, 253)
HSLhsl(271, 96%, 80%)
HSVhsv(271, 40%, 99%)
CMYKcmyk(19.4%, 39.5%, 0%, 0.8%)
CIE-LABlab(71.36, 37.62, -42.68)
CIE-LCHlch(71.36, 56.89, 311.39°)
OKLaboklab(76.82% 0.0883 -0.1185)
OKLCHoklch(76.82% 0.148 306.7)
XYZxyz(54.0192, 42.7121, 98.3079)
Luminance0.4271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC99FD #CAFD99
analogous
#9A99FD #CC99FD #FD99FC
triadic
#CC99FD #FDCC99 #99FDCC
tetradic
#CC99FD #FD9A99 #CAFD99 #99FCFD
square
#CC99FD #FD9A99 #CAFD99 #99FCFD
split-complementary
#CC99FD #FCFD99 #99FD9A
monochromatic
#9021FB #AE5DFC #CC99FD #EAD5FE #F0E1FE

Accessibility & contrast

On white

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

On black

9.54
#CC99FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC99FD
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC99FD#FFFFFF#000000##000000
##CC99FD1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc99fd;
/* rgb */ color: rgb(204, 153, 253);
/* oklch */ color: oklch(76.8% 0.148 306.7);
Tailwind
colors: {
  custom: {
    50: '#ddb8fe',
    500: '#cc99fd',
    950: '#000000',
  },
}
SCSS
$custom: #cc99fd;
$custom-light: #ddb8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc99fd",
  "rgb": {
    "r": 204,
    "g": 153,
    "b": 253
  },
  "hsl": {
    "h": 270.6,
    "s": 96.154,
    "l": 79.608
  },
  "oklch": {
    "l": 0.76822,
    "c": 0.14776,
    "h": 306.7
  },
  "luminance": 0.42712
}

Semantic roles & 50–950 ramp

primary
#CC99FD
secondary
#E5F7D4
accent
#E60070
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC99FD

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

Preview Lab → · Contrast checker → · Palette generator →

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