#CF97C8#CF97C8

#CF97C8 is a light, moderate purple. Relative luminance 0.396; OKLCH L 74.6% C 0.093 H 330.8°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#CF97C8
RGBrgb(207, 151, 200)
HSLhsl(308, 37%, 70%)
HSVhsv(308, 27%, 81%)
CMYKcmyk(0%, 27.1%, 3.4%, 18.8%)
CIE-LABlab(69.16, 28.93, -16.94)
CIE-LCHlch(69.16, 33.53, 329.65°)
OKLaboklab(74.55% 0.0814 -0.0455)
OKLCHoklch(74.55% 0.093 330.8)
XYZxyz(47.2232, 39.5704, 59.7827)
Luminance0.3957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF97C8 #97CF9E
analogous
#BA97CF #CF97C8 #CF97AC
triadic
#CF97C8 #C8CF97 #97C8CF
tetradic
#CF97C8 #CFBA97 #97CF9E #97ACCF
square
#CF97C8 #CFBA97 #97CF9E #97ACCF
split-complementary
#CF97C8 #ACCF97 #97CFBA
monochromatic
#A14A96 #BC6DB2 #CF97C8 #E2C1DE #F5EAF4

Accessibility & contrast

On white

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

On black

8.91
#CF97C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF97C8
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF97C8#FFFFFF#000000##000000
##CF97C81.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A4CA
Deuteranopia (green-blind)
#A3ACC6
Tritanopia (blue-blind)
#D49AA8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf97c8;
/* rgb */ color: rgb(207, 151, 200);
/* oklch */ color: oklch(74.6% 0.093 330.8);
Tailwind
colors: {
  custom: {
    50: '#deb6d8',
    500: '#cf97c8',
    950: '#000000',
  },
}
SCSS
$custom: #cf97c8;
$custom-light: #deb6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf97c8",
  "rgb": {
    "r": 207,
    "g": 151,
    "b": 200
  },
  "hsl": {
    "h": 307.5,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7455,
    "c": 0.09326,
    "h": 330.8
  },
  "luminance": 0.39569
}

Semantic roles & 50–950 ramp

primary
#CF97C8
secondary
#D9E9DB
accent
#B04536
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CF97C8

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

Preview Lab → · Contrast checker → · Palette generator →

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