#CF97CC#CF97CC

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

Color values

HEX#CF97CC
RGBrgb(207, 151, 204)
HSLhsl(303, 37%, 70%)
HSVhsv(303, 27%, 81%)
CMYKcmyk(0%, 27.1%, 1.4%, 18.8%)
CIE-LABlab(69.30, 29.67, -18.95)
CIE-LCHlch(69.30, 35.20, 327.43°)
OKLaboklab(74.7% 0.0826 -0.051)
OKLCHoklch(74.7% 0.097 328.3)
XYZxyz(47.6968, 39.7598, 62.2769)
Luminance0.3976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF97CC #97CF9A
analogous
#B697CF #CF97CC #CF97B0
triadic
#CF97CC #CCCF97 #97CCCF
tetradic
#CF97CC #CFB697 #97CF9A #97B0CF
square
#CF97CC #CFB697 #97CF9A #97B0CF
split-complementary
#CF97CC #B0CF97 #97CFB6
monochromatic
#A14A9D #BC6DB7 #CF97CC #E2C1E1 #F5EAF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF97CC#FFFFFF#000000##000000
##CF97CC1.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)
#94A5CE
Deuteranopia (green-blind)
#A1ACCA
Tritanopia (blue-blind)
#D39BAA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf97cc;
/* rgb */ color: rgb(207, 151, 204);
/* oklch */ color: oklch(74.7% 0.097 328.3);
Tailwind
colors: {
  custom: {
    50: '#deb6db',
    500: '#cf97cc',
    950: '#000000',
  },
}
SCSS
$custom: #cf97cc;
$custom-light: #deb6db;
$custom-dark: #000000;
JSON
{
  "hex": "#cf97cc",
  "rgb": {
    "r": 207,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 303.214,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74698,
    "c": 0.09714,
    "h": 328.3
  },
  "luminance": 0.39758
}

Semantic roles & 50–950 ramp

primary
#CF97CC
secondary
#D9E9DA
accent
#B03C36
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CF97CC

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

Preview Lab → · Contrast checker → · Palette generator →

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