#CC99E9#CC99E9

#CC99E9 is a light, vivid violet. Relative luminance 0.415; OKLCH L 75.9% C 0.124 H 312.8°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#CC99E9
RGBrgb(204, 153, 233)
HSLhsl(278, 65%, 76%)
HSVhsv(278, 34%, 91%)
CMYKcmyk(12.4%, 34.3%, 0%, 8.6%)
CIE-LABlab(70.53, 33.33, -33.07)
CIE-LCHlch(70.53, 46.96, 315.23°)
OKLaboklab(75.92% 0.084 -0.0909)
OKLCHoklch(75.92% 0.124 312.8)
XYZxyz(50.9986, 41.5039, 82.3995)
Luminance0.4150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC99E9 #B6E999
analogous
#A499E9 #CC99E9 #E999DE
triadic
#CC99E9 #E9CC99 #99E9CC
tetradic
#CC99E9 #E9A499 #B6E999 #99DEE9
square
#CC99E9 #E9A499 #B6E999 #99DEE9
split-complementary
#CC99E9 #DEE999 #99E9A4
monochromatic
#9A34D3 #B367DE #CC99E9 #E5CBF4 #F2E6FA

Accessibility & contrast

On white

2.26
#CC99E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#CC99E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC99E9
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC99E9#FFFFFF#000000##000000
##CC99E91.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAAEC
Deuteranopia (green-blind)
#97AEE7
Tritanopia (blue-blind)
#CAA4B7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cc99e9;
/* rgb */ color: rgb(204, 153, 233);
/* oklch */ color: oklch(75.9% 0.124 312.8);
Tailwind
colors: {
  custom: {
    50: '#dcb7f0',
    500: '#cc99e9',
    950: '#000000',
  },
}
SCSS
$custom: #cc99e9;
$custom-light: #dcb7f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc99e9",
  "rgb": {
    "r": 204,
    "g": 153,
    "b": 233
  },
  "hsl": {
    "h": 278.25,
    "s": 64.516,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75919,
    "c": 0.12379,
    "h": 312.8
  },
  "luminance": 0.41503
}

Semantic roles & 50–950 ramp

primary
#CC99E9
secondary
#E2F1DA
accent
#CC195A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC99E9

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

Preview Lab → · Contrast checker → · Palette generator →

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