#CC99EA#CC99EA

#CC99EA is a light, vivid violet. Relative luminance 0.416; OKLCH L 76.0% C 0.125 H 312.4°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#CC99EA
RGBrgb(204, 153, 234)
HSLhsl(278, 66%, 76%)
HSVhsv(278, 35%, 92%)
CMYKcmyk(12.8%, 34.6%, 0%, 8.2%)
CIE-LABlab(70.57, 33.54, -33.56)
CIE-LCHlch(70.57, 47.45, 314.99°)
OKLaboklab(75.96% 0.0843 -0.0923)
OKLCHoklch(75.96% 0.125 312.4)
XYZxyz(51.1419, 41.5612, 83.1539)
Luminance0.4156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC99EA #B7EA99
analogous
#A399EA #CC99EA #EA99DF
triadic
#CC99EA #EACC99 #99EACC
tetradic
#CC99EA #EAA399 #B7EA99 #99DFEA
square
#CC99EA #EAA399 #B7EA99 #99DFEA
split-complementary
#CC99EA #DFEA99 #99EAA3
monochromatic
#9933D5 #B366E0 #CC99EA #E5CCF4 #F2E6FA

Accessibility & contrast

On white

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

On black

9.31
#CC99EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC99EA
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC99EA#FFFFFF#000000##000000
##CC99EA1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAAED
Deuteranopia (green-blind)
#97AEE8
Tritanopia (blue-blind)
#C9A4B7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cc99ea;
/* rgb */ color: rgb(204, 153, 234);
/* oklch */ color: oklch(76.0% 0.125 312.4);
Tailwind
colors: {
  custom: {
    50: '#dcb7f1',
    500: '#cc99ea',
    950: '#000000',
  },
}
SCSS
$custom: #cc99ea;
$custom-light: #dcb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc99ea",
  "rgb": {
    "r": 204,
    "g": 153,
    "b": 234
  },
  "hsl": {
    "h": 277.778,
    "s": 65.854,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75963,
    "c": 0.12498,
    "h": 312.4
  },
  "luminance": 0.4156
}

Semantic roles & 50–950 ramp

primary
#CC99EA
secondary
#E2F1DA
accent
#CE185B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC99EA

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

Preview Lab → · Contrast checker → · Palette generator →

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