#CC96DD#CC96DD

#CC96DD is a light, moderate purple. Relative luminance 0.399; OKLCH L 74.9% C 0.115 H 317.9°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#CC96DD
RGBrgb(204, 150, 221)
HSLhsl(286, 51%, 73%)
HSVhsv(286, 32%, 87%)
CMYKcmyk(7.7%, 32.1%, 0%, 13.3%)
CIE-LABlab(69.38, 32.52, -28.25)
CIE-LCHlch(69.38, 43.08, 319.02°)
OKLaboklab(74.89% 0.0855 -0.0772)
OKLCHoklch(74.89% 0.115 317.9)
XYZxyz(48.8575, 39.8717, 73.5149)
Luminance0.3987 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC96DD #A7DD96
analogous
#A896DD #CC96DD #DD96CA
triadic
#CC96DD #DDCC96 #96DDCC
tetradic
#CC96DD #DDA896 #A7DD96 #96CADD
square
#CC96DD #DDA896 #A7DD96 #96CADD
split-complementary
#CC96DD #CADD96 #96DDA8
monochromatic
#9D3DBC #B668CE #CC96DD #E2C4EC #F4E8F8

Accessibility & contrast

On white

2.34
#CC96DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#CC96DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC96DD
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC96DD#FFFFFF#000000##000000
##CC96DD1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA6E0
Deuteranopia (green-blind)
#99ABDB
Tritanopia (blue-blind)
#CC9EB0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc96dd;
/* rgb */ color: rgb(204, 150, 221);
/* oklch */ color: oklch(74.9% 0.115 317.9);
Tailwind
colors: {
  custom: {
    50: '#dcb5e7',
    500: '#cc96dd',
    950: '#000000',
  },
}
SCSS
$custom: #cc96dd;
$custom-light: #dcb5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc96dd",
  "rgb": {
    "r": 204,
    "g": 150,
    "b": 221
  },
  "hsl": {
    "h": 285.634,
    "s": 51.079,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74892,
    "c": 0.11515,
    "h": 317.9
  },
  "luminance": 0.39871
}

Semantic roles & 50–950 ramp

primary
#CC96DD
secondary
#E1EFDC
accent
#BE274B
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC96DD

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

Preview Lab → · Contrast checker → · Palette generator →

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