#CC99EE#CC99EE

#CC99EE is a light, vivid violet. Relative luminance 0.418; OKLCH L 76.1% C 0.130 H 311.1°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#CC99EE
RGBrgb(204, 153, 238)
HSLhsl(276, 71%, 77%)
HSVhsv(276, 36%, 93%)
CMYKcmyk(14.3%, 35.7%, 0%, 6.7%)
CIE-LABlab(70.73, 34.38, -35.50)
CIE-LCHlch(70.73, 49.42, 314.09°)
OKLaboklab(76.14% 0.0852 -0.0978)
OKLCHoklch(76.14% 0.13 311.1)
XYZxyz(51.7230, 41.7936, 86.2146)
Luminance0.4179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC99EE #BBEE99
analogous
#A299EE #CC99EE #EE99E6
triadic
#CC99EE #EECC99 #99EECC
tetradic
#CC99EE #EEA299 #BBEE99 #99E6EE
square
#CC99EE #EEA299 #BBEE99 #99E6EE
split-complementary
#CC99EE #E6EE99 #99EEA2
monochromatic
#9830DD #B265E5 #CC99EE #E6CDF7 #F2E5FB

Accessibility & contrast

On white

2.24
#CC99EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#CC99EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC99EE
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC99EE#FFFFFF#000000##000000
##CC99EE1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AAF1
Deuteranopia (green-blind)
#95AEEC
Tritanopia (blue-blind)
#C8A5B9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cc99ee;
/* rgb */ color: rgb(204, 153, 238);
/* oklch */ color: oklch(76.1% 0.130 311.1);
Tailwind
colors: {
  custom: {
    50: '#dcb7f4',
    500: '#cc99ee',
    950: '#000000',
  },
}
SCSS
$custom: #cc99ee;
$custom-light: #dcb7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc99ee",
  "rgb": {
    "r": 204,
    "g": 153,
    "b": 238
  },
  "hsl": {
    "h": 276,
    "s": 71.429,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76138,
    "c": 0.12972,
    "h": 311.1
  },
  "luminance": 0.41793
}

Semantic roles & 50–950 ramp

primary
#CC99EE
secondary
#E3F2D9
accent
#D3125F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC99EE

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

Preview Lab → · Contrast checker → · Palette generator →

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