#CC97CA#CC97CA

#CC97CA is a light, moderate purple. Relative luminance 0.392; OKLCH L 74.3% C 0.093 H 327.7°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#CC97CA
RGBrgb(204, 151, 202)
HSLhsl(302, 34%, 70%)
HSVhsv(302, 26%, 80%)
CMYKcmyk(0%, 26%, 1%, 20%)
CIE-LABlab(68.92, 28.30, -18.44)
CIE-LCHlch(68.92, 33.78, 326.91°)
OKLaboklab(74.32% 0.0786 -0.0497)
OKLCHoklch(74.32% 0.093 327.7)
XYZxyz(46.6281, 39.2363, 60.9828)
Luminance0.3923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC97CA #97CC99
analogous
#B497CC #CC97CA #CC97B0
triadic
#CC97CA #CACC97 #97CACC
tetradic
#CC97CA #CCB497 #97CC99 #97B0CC
square
#CC97CA #CCB497 #97CC99 #97B0CC
split-complementary
#CC97CA #B0CC97 #97CCB4
monochromatic
#9C4D99 #B86EB5 #CC97CA #E0C0DF #F4E9F4

Accessibility & contrast

On white

2.37
#CC97CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#CC97CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC97CA
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC97CA#FFFFFF#000000##000000
##CC97CA1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A4CC
Deuteranopia (green-blind)
#A0ABC8
Tritanopia (blue-blind)
#D09BA9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc97ca;
/* rgb */ color: rgb(204, 151, 202);
/* oklch */ color: oklch(74.3% 0.093 327.7);
Tailwind
colors: {
  custom: {
    50: '#dcb6da',
    500: '#cc97ca',
    950: '#000000',
  },
}
SCSS
$custom: #cc97ca;
$custom-light: #dcb6da;
$custom-dark: #000000;
JSON
{
  "hex": "#cc97ca",
  "rgb": {
    "r": 204,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 302.264,
    "s": 34.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74318,
    "c": 0.09299,
    "h": 327.7
  },
  "luminance": 0.39235
}

Semantic roles & 50–950 ramp

primary
#CC97CA
secondary
#D8E7D8
accent
#AD3D38
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CC97CA

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

Preview Lab → · Contrast checker → · Palette generator →

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