#CC97CE#CC97CE

#CC97CE is a light, moderate purple. Relative luminance 0.394; OKLCH L 74.5% C 0.097 H 325.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#CC97CE
RGBrgb(204, 151, 206)
HSLhsl(298, 36%, 70%)
HSVhsv(298, 27%, 81%)
CMYKcmyk(1%, 26.7%, 0%, 19.2%)
CIE-LABlab(69.06, 29.05, -20.45)
CIE-LCHlch(69.06, 35.53, 324.86°)
OKLaboklab(74.47% 0.0798 -0.0553)
OKLCHoklch(74.47% 0.097 325.3)
XYZxyz(47.1078, 39.4282, 63.5094)
Luminance0.3943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC97CE #99CE97
analogous
#B097CE #CC97CE #CE97B5
triadic
#CC97CE #CECC97 #97CECC
tetradic
#CC97CE #CEB097 #99CE97 #97B5CE
square
#CC97CE #CEB097 #99CE97 #97B5CE
split-complementary
#CC97CE #B5CE97 #97CEB0
monochromatic
#9C4B9F #B86DBA #CC97CE #E0C1E2 #F5EAF5

Accessibility & contrast

On white

2.36
#CC97CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#CC97CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC97CE
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC97CE#FFFFFF#000000##000000
##CC97CE1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A4D0
Deuteranopia (green-blind)
#9FABCC
Tritanopia (blue-blind)
#CF9CAA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc97ce;
/* rgb */ color: rgb(204, 151, 206);
/* oklch */ color: oklch(74.5% 0.097 325.3);
Tailwind
colors: {
  custom: {
    50: '#dcb6dd',
    500: '#cc97ce',
    950: '#000000',
  },
}
SCSS
$custom: #cc97ce;
$custom-light: #dcb6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc97ce",
  "rgb": {
    "r": 204,
    "g": 151,
    "b": 206
  },
  "hsl": {
    "h": 297.818,
    "s": 35.948,
    "l": 70
  },
  "oklch": {
    "l": 0.74469,
    "c": 0.09707,
    "h": 325.3
  },
  "luminance": 0.39427
}

Semantic roles & 50–950 ramp

primary
#CC97CE
secondary
#D9E8D9
accent
#AF373B
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CC97CE

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

Preview Lab → · Contrast checker → · Palette generator →

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