#CC99FB#CC99FB

#CC99FB is a light, vivid violet. Relative luminance 0.426; OKLCH L 76.7% C 0.145 H 307.2°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#CC99FB
RGBrgb(204, 153, 251)
HSLhsl(271, 92%, 79%)
HSVhsv(271, 39%, 98%)
CMYKcmyk(18.7%, 39%, 0%, 1.6%)
CIE-LABlab(71.27, 37.18, -41.73)
CIE-LCHlch(71.27, 55.89, 311.70°)
OKLaboklab(76.73% 0.0879 -0.1157)
OKLCHoklch(76.73% 0.145 307.2)
XYZxyz(53.7023, 42.5853, 96.6388)
Luminance0.4259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC99FB #C8FB99
analogous
#9B99FB #CC99FB #FB99F9
triadic
#CC99FB #FBCC99 #99FBCC
tetradic
#CC99FB #FB9B99 #C8FB99 #99F9FB
square
#CC99FB #FB9B99 #C8FB99 #99F9FB
split-complementary
#CC99FB #F9FB99 #99FB9B
monochromatic
#9123F6 #AF5EF9 #CC99FB #E9D4FD #F0E2FE

Accessibility & contrast

On white

2.21
#CC99FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#CC99FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC99FB
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC99FB#FFFFFF#000000##000000
##CC99FB1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ADFF
Deuteranopia (green-blind)
#8FAFF8
Tritanopia (blue-blind)
#C5A8BE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cc99fb;
/* rgb */ color: rgb(204, 153, 251);
/* oklch */ color: oklch(76.7% 0.145 307.2);
Tailwind
colors: {
  custom: {
    50: '#ddb7fd',
    500: '#cc99fb',
    950: '#000000',
  },
}
SCSS
$custom: #cc99fb;
$custom-light: #ddb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc99fb",
  "rgb": {
    "r": 204,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 271.224,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76729,
    "c": 0.14534,
    "h": 307.2
  },
  "luminance": 0.42585
}

Semantic roles & 50–950 ramp

primary
#CC99FB
secondary
#E5F6D5
accent
#E6006E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC99FB

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

Preview Lab → · Contrast checker → · Palette generator →

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