#CC97CC#CC97CC

#CC97CC is a light, moderate purple. Relative luminance 0.393; OKLCH L 74.4% C 0.095 H 326.5°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#CC97CC
RGBrgb(204, 151, 204)
HSLhsl(300, 34%, 70%)
HSVhsv(300, 26%, 80%)
CMYKcmyk(0%, 26%, 0%, 20%)
CIE-LABlab(68.99, 28.67, -19.45)
CIE-LCHlch(68.99, 34.65, 325.85°)
OKLaboklab(74.39% 0.0792 -0.0525)
OKLCHoklch(74.39% 0.095 326.5)
XYZxyz(46.8664, 39.3316, 62.2380)
Luminance0.3933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC97CC #97CC97
analogous
#B297CC #CC97CC #CC97B2
triadic
#CC97CC #CCCC97 #97CCCC
tetradic
#CC97CC #CCB297 #97CC97 #97B2CC
square
#CC97CC #CCB297 #97CC97 #97B2CC
split-complementary
#CC97CC #B2CC97 #97CCB2
monochromatic
#9C4D9C #B86EB8 #CC97CC #E0C0E0 #F4E9F4

Accessibility & contrast

On white

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

On black

8.87
#CC97CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC97CC
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC97CC#FFFFFF#000000##000000
##CC97CC1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A4CE
Deuteranopia (green-blind)
#A0ABCA
Tritanopia (blue-blind)
#CF9BAA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc97cc;
/* rgb */ color: rgb(204, 151, 204);
/* oklch */ color: oklch(74.4% 0.095 326.5);
Tailwind
colors: {
  custom: {
    50: '#dcb6db',
    500: '#cc97cc',
    950: '#000000',
  },
}
SCSS
$custom: #cc97cc;
$custom-light: #dcb6db;
$custom-dark: #000000;
JSON
{
  "hex": "#cc97cc",
  "rgb": {
    "r": 204,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 34.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74393,
    "c": 0.09501,
    "h": 326.5
  },
  "luminance": 0.3933
}

Semantic roles & 50–950 ramp

primary
#CC97CC
secondary
#D8E7D8
accent
#AD3838
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CC97CC

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

Preview Lab → · Contrast checker → · Palette generator →

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