#CC97CB#CC97CB

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

Color values

HEX#CC97CB
RGBrgb(204, 151, 203)
HSLhsl(301, 34%, 70%)
HSVhsv(301, 26%, 80%)
CMYKcmyk(0%, 26%, 0.5%, 20%)
CIE-LABlab(68.96, 28.49, -18.94)
CIE-LCHlch(68.96, 34.21, 326.37°)
OKLaboklab(74.36% 0.0789 -0.0511)
OKLCHoklch(74.36% 0.094 327.1)
XYZxyz(46.7469, 39.2838, 61.6084)
Luminance0.3928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC97CB #97CC98
analogous
#B397CC #CC97CB #CC97B1
triadic
#CC97CB #CBCC97 #97CBCC
tetradic
#CC97CB #CCB397 #97CC98 #97B1CC
square
#CC97CB #CCB397 #97CC98 #97B1CC
split-complementary
#CC97CB #B1CC97 #97CCB3
monochromatic
#9C4D9B #B86EB6 #CC97CB #E0C0E0 #F4E9F4

Accessibility & contrast

On white

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

On black

8.86
#CC97CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC97CB
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC97CB#FFFFFF#000000##000000
##CC97CB1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc97cb;
/* rgb */ color: rgb(204, 151, 203);
/* oklch */ color: oklch(74.4% 0.094 327.1);
Tailwind
colors: {
  custom: {
    50: '#dcb6db',
    500: '#cc97cb',
    950: '#000000',
  },
}
SCSS
$custom: #cc97cb;
$custom-light: #dcb6db;
$custom-dark: #000000;
JSON
{
  "hex": "#cc97cb",
  "rgb": {
    "r": 204,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 301.132,
    "s": 34.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74356,
    "c": 0.09399,
    "h": 327.1
  },
  "luminance": 0.39282
}

Semantic roles & 50–950 ramp

primary
#CC97CB
secondary
#D8E7D8
accent
#AD3B38
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151115
muted
#838083

Preview Lab

Preview with #CC97CB

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

Preview Lab → · Contrast checker → · Palette generator →

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