#CC99FA#CC99FA

#CC99FA is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.7% C 0.144 H 307.5°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#CC99FA
RGBrgb(204, 153, 250)
HSLhsl(272, 91%, 79%)
HSVhsv(272, 39%, 98%)
CMYKcmyk(18.4%, 38.8%, 0%, 2%)
CIE-LABlab(71.23, 36.96, -41.26)
CIE-LCHlch(71.23, 55.39, 311.86°)
OKLaboklab(76.68% 0.0877 -0.1144)
OKLCHoklch(76.68% 0.144 307.5)
XYZxyz(53.5451, 42.5225, 95.8108)
Luminance0.4252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC99FA #C7FA99
analogous
#9C99FA #CC99FA #FA99F8
triadic
#CC99FA #FACC99 #99FACC
tetradic
#CC99FA #FA9C99 #C7FA99 #99F8FA
square
#CC99FA #FA9C99 #C7FA99 #99F8FA
split-complementary
#CC99FA #F8FA99 #99FA9C
monochromatic
#9224F4 #AF5FF7 #CC99FA #E9D3FD #F0E2FE

Accessibility & contrast

On white

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

On black

9.50
#CC99FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC99FA
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC99FA#FFFFFF#000000##000000
##CC99FA1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFE
Deuteranopia (green-blind)
#90AFF7
Tritanopia (blue-blind)
#C6A8BE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cc99fa;
/* rgb */ color: rgb(204, 153, 250);
/* oklch */ color: oklch(76.7% 0.144 307.5);
Tailwind
colors: {
  custom: {
    50: '#ddb7fc',
    500: '#cc99fa',
    950: '#000000',
  },
}
SCSS
$custom: #cc99fa;
$custom-light: #ddb7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc99fa",
  "rgb": {
    "r": 204,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 271.546,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76682,
    "c": 0.14413,
    "h": 307.5
  },
  "luminance": 0.42522
}

Semantic roles & 50–950 ramp

primary
#CC99FA
secondary
#E5F6D5
accent
#E6006D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC99FA

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

Preview Lab → · Contrast checker → · Palette generator →

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