#CC99ED#CC99ED

#CC99ED is a light, vivid violet. Relative luminance 0.417; OKLCH L 76.1% C 0.129 H 311.4°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#CC99ED
RGBrgb(204, 153, 237)
HSLhsl(276, 70%, 76%)
HSVhsv(276, 35%, 93%)
CMYKcmyk(13.9%, 35.4%, 0%, 7.1%)
CIE-LABlab(70.69, 34.17, -35.01)
CIE-LCHlch(70.69, 48.92, 314.30°)
OKLaboklab(76.09% 0.085 -0.0964)
OKLCHoklch(76.09% 0.129 311.4)
XYZxyz(51.5765, 41.7350, 85.4430)
Luminance0.4173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC99ED #BAED99
analogous
#A299ED #CC99ED #ED99E4
triadic
#CC99ED #EDCC99 #99EDCC
tetradic
#CC99ED #EDA299 #BAED99 #99E4ED
square
#CC99ED #EDA299 #BAED99 #99E4ED
split-complementary
#CC99ED #E4ED99 #99EDA2
monochromatic
#9831DB #B265E4 #CC99ED #E6CDF6 #F2E5FA

Accessibility & contrast

On white

2.25
#CC99ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#CC99ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC99ED
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC99ED#FFFFFF#000000##000000
##CC99ED1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAF0
Deuteranopia (green-blind)
#96AEEB
Tritanopia (blue-blind)
#C9A5B8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cc99ed;
/* rgb */ color: rgb(204, 153, 237);
/* oklch */ color: oklch(76.1% 0.129 311.4);
Tailwind
colors: {
  custom: {
    50: '#dcb7f3',
    500: '#cc99ed',
    950: '#000000',
  },
}
SCSS
$custom: #cc99ed;
$custom-light: #dcb7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc99ed",
  "rgb": {
    "r": 204,
    "g": 153,
    "b": 237
  },
  "hsl": {
    "h": 276.429,
    "s": 70,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76094,
    "c": 0.12853,
    "h": 311.4
  },
  "luminance": 0.41734
}

Semantic roles & 50–950 ramp

primary
#CC99ED
secondary
#E3F2D9
accent
#D2145E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC99ED

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

Preview Lab → · Contrast checker → · Palette generator →

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