#CC96DB#CC96DB

#CC96DB is a light, moderate purple. Relative luminance 0.398; OKLCH L 74.8% C 0.113 H 318.8°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#CC96DB
RGBrgb(204, 150, 219)
HSLhsl(287, 49%, 72%)
HSVhsv(287, 32%, 86%)
CMYKcmyk(6.8%, 31.5%, 0%, 14.1%)
CIE-LABlab(69.30, 32.12, -27.27)
CIE-LCHlch(69.30, 42.13, 319.67°)
OKLaboklab(74.81% 0.0849 -0.0744)
OKLCHoklch(74.81% 0.113 318.8)
XYZxyz(48.5926, 39.7657, 72.1199)
Luminance0.3977 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC96DB #A5DB96
analogous
#AA96DB #CC96DB #DB96C7
triadic
#CC96DB #DBCC96 #96DBCC
tetradic
#CC96DB #DBAA96 #A5DB96 #96C7DB
square
#CC96DB #DBAA96 #A5DB96 #96C7DB
split-complementary
#CC96DB #C7DB96 #96DBAA
monochromatic
#9D3FB8 #B668CB #CC96DB #E2C4EB #F4E8F7

Accessibility & contrast

On white

2.35
#CC96DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#CC96DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC96DB
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC96DB#FFFFFF#000000##000000
##CC96DB1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA6DE
Deuteranopia (green-blind)
#9AABD9
Tritanopia (blue-blind)
#CD9EAF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc96db;
/* rgb */ color: rgb(204, 150, 219);
/* oklch */ color: oklch(74.8% 0.113 318.8);
Tailwind
colors: {
  custom: {
    50: '#dcb5e6',
    500: '#cc96db',
    950: '#000000',
  },
}
SCSS
$custom: #cc96db;
$custom-light: #dcb5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc96db",
  "rgb": {
    "r": 204,
    "g": 150,
    "b": 219
  },
  "hsl": {
    "h": 286.957,
    "s": 48.936,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7481,
    "c": 0.11291,
    "h": 318.8
  },
  "luminance": 0.39765
}

Semantic roles & 50–950 ramp

primary
#CC96DB
secondary
#E1EEDD
accent
#BC2949
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC96DB

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

Preview Lab → · Contrast checker → · Palette generator →

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