#CC99FE#CC99FE

#CC99FE is a light, vivid violet. Relative luminance 0.428; OKLCH L 76.9% C 0.149 H 306.4°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#CC99FE
RGBrgb(204, 153, 254)
HSLhsl(270, 98%, 80%)
HSVhsv(270, 40%, 100%)
CMYKcmyk(19.7%, 39.8%, 0%, 0.4%)
CIE-LABlab(71.40, 37.84, -43.16)
CIE-LCHlch(71.40, 57.40, 311.24°)
OKLaboklab(76.87% 0.0885 -0.1198)
OKLCHoklch(76.87% 0.149 306.4)
XYZxyz(54.1789, 42.7760, 99.1491)
Luminance0.4278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC99FE #CBFE99
analogous
#9A99FE #CC99FE #FE99FD
triadic
#CC99FE #FECC99 #99FECC
tetradic
#CC99FE #FE9A99 #CBFE99 #99FDFE
square
#CC99FE #FE9A99 #CBFE99 #99FDFE
split-complementary
#CC99FE #FDFE99 #99FE9A
monochromatic
#8F20FD #AE5CFD #CC99FE #EAD6FF #F0E1FF

Accessibility & contrast

On white

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

On black

9.56
#CC99FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC99FE
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC99FE#FFFFFF#000000##000000
##CC99FE1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#8EAFFB
Tritanopia (blue-blind)
#C5A9C0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cc99fe;
/* rgb */ color: rgb(204, 153, 254);
/* oklch */ color: oklch(76.9% 0.149 306.4);
Tailwind
colors: {
  custom: {
    50: '#ddb8ff',
    500: '#cc99fe',
    950: '#000000',
  },
}
SCSS
$custom: #cc99fe;
$custom-light: #ddb8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc99fe",
  "rgb": {
    "r": 204,
    "g": 153,
    "b": 254
  },
  "hsl": {
    "h": 270.297,
    "s": 98.058,
    "l": 79.804
  },
  "oklch": {
    "l": 0.7687,
    "c": 0.14898,
    "h": 306.4
  },
  "luminance": 0.42776
}

Semantic roles & 50–950 ramp

primary
#CC99FE
secondary
#E5F7D4
accent
#E60072
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC99FE

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

Preview Lab → · Contrast checker → · Palette generator →

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