#CC99F6#CC99F6

#CC99F6 is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.5% C 0.139 H 308.6°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#CC99F6
RGBrgb(204, 153, 246)
HSLhsl(273, 84%, 78%)
HSVhsv(273, 38%, 96%)
CMYKcmyk(17.1%, 37.8%, 0%, 3.5%)
CIE-LABlab(71.06, 36.09, -39.35)
CIE-LCHlch(71.06, 53.39, 312.53°)
OKLaboklab(76.5% 0.0869 -0.1089)
OKLCHoklch(76.5% 0.139 308.6)
XYZxyz(52.9245, 42.2742, 92.5426)
Luminance0.4227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC99F6 #C3F699
analogous
#9D99F6 #CC99F6 #F699F2
triadic
#CC99F6 #F6CC99 #99F6CC
tetradic
#CC99F6 #F69D99 #C3F699 #99F2F6
square
#CC99F6 #F69D99 #C3F699 #99F2F6
split-complementary
#CC99F6 #F2F699 #99F69D
monochromatic
#9429EC #B061F1 #CC99F6 #E8D1FB #F1E3FD

Accessibility & contrast

On white

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

On black

9.45
#CC99F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC99F6
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC99F6#FFFFFF#000000##000000
##CC99F61.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ACFA
Deuteranopia (green-blind)
#92AFF3
Tritanopia (blue-blind)
#C7A7BC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cc99f6;
/* rgb */ color: rgb(204, 153, 246);
/* oklch */ color: oklch(76.5% 0.139 308.6);
Tailwind
colors: {
  custom: {
    50: '#ddb7f9',
    500: '#cc99f6',
    950: '#000000',
  },
}
SCSS
$custom: #cc99f6;
$custom-light: #ddb7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc99f6",
  "rgb": {
    "r": 204,
    "g": 153,
    "b": 246
  },
  "hsl": {
    "h": 272.903,
    "s": 83.784,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76498,
    "c": 0.1393,
    "h": 308.6
  },
  "luminance": 0.42274
}

Semantic roles & 50–950 ramp

primary
#CC99F6
secondary
#E4F4D7
accent
#E00568
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC99F6

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

Preview Lab → · Contrast checker → · Palette generator →

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