#CC99F8#CC99F8

#CC99F8 is a light, vivid violet. Relative luminance 0.424; OKLCH L 76.6% C 0.142 H 308.0°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#CC99F8
RGBrgb(204, 153, 248)
HSLhsl(272, 87%, 79%)
HSVhsv(272, 38%, 97%)
CMYKcmyk(17.7%, 38.3%, 0%, 2.7%)
CIE-LABlab(71.14, 36.52, -40.30)
CIE-LCHlch(71.14, 54.39, 312.18°)
OKLaboklab(76.59% 0.0873 -0.1116)
OKLCHoklch(76.59% 0.142 308)
XYZxyz(53.2331, 42.3977, 94.1679)
Luminance0.4240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC99F8 #C5F899
analogous
#9C99F8 #CC99F8 #F899F4
triadic
#CC99F8 #F8CC99 #99F8CC
tetradic
#CC99F8 #F89C99 #C5F899 #99F4F8
square
#CC99F8 #F89C99 #C5F899 #99F4F8
split-complementary
#CC99F8 #F4F899 #99F89C
monochromatic
#9326F0 #AF60F4 #CC99F8 #E9D2FC #F1E2FD

Accessibility & contrast

On white

2.22
#CC99F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#CC99F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC99F8
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC99F8#FFFFFF#000000##000000
##CC99F81.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ACFC
Deuteranopia (green-blind)
#91AFF5
Tritanopia (blue-blind)
#C6A7BD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cc99f8;
/* rgb */ color: rgb(204, 153, 248);
/* oklch */ color: oklch(76.6% 0.142 308.0);
Tailwind
colors: {
  custom: {
    50: '#ddb7fb',
    500: '#cc99f8',
    950: '#000000',
  },
}
SCSS
$custom: #cc99f8;
$custom-light: #ddb7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc99f8",
  "rgb": {
    "r": 204,
    "g": 153,
    "b": 248
  },
  "hsl": {
    "h": 272.211,
    "s": 87.156,
    "l": 78.627
  },
  "oklch": {
    "l": 0.7659,
    "c": 0.14172,
    "h": 308
  },
  "luminance": 0.42397
}

Semantic roles & 50–950 ramp

primary
#CC99F8
secondary
#E4F5D6
accent
#E4026A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC99F8

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

Preview Lab → · Contrast checker → · Palette generator →

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