#CF97CB#CF97CB

#CF97CB is a light, moderate purple. Relative luminance 0.397; OKLCH L 74.7% C 0.096 H 328.9°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#CF97CB
RGBrgb(207, 151, 203)
HSLhsl(304, 37%, 70%)
HSVhsv(304, 27%, 81%)
CMYKcmyk(0%, 27.1%, 1.9%, 18.8%)
CIE-LABlab(69.26, 29.48, -18.45)
CIE-LCHlch(69.26, 34.78, 327.96°)
OKLaboklab(74.66% 0.0823 -0.0497)
OKLCHoklch(74.66% 0.096 328.9)
XYZxyz(47.5773, 39.7120, 61.6473)
Luminance0.3971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF97CB #97CF9B
analogous
#B797CF #CF97CB #CF97AF
triadic
#CF97CB #CBCF97 #97CBCF
tetradic
#CF97CB #CFB797 #97CF9B #97AFCF
square
#CF97CB #CFB797 #97CF9B #97AFCF
split-complementary
#CF97CB #AFCF97 #97CFB7
monochromatic
#A14A9B #BC6DB6 #CF97CB #E2C1E0 #F5EAF5

Accessibility & contrast

On white

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

On black

8.94
#CF97CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF97CB
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF97CB#FFFFFF#000000##000000
##CF97CB1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A5CD
Deuteranopia (green-blind)
#A2ACC9
Tritanopia (blue-blind)
#D39BA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf97cb;
/* rgb */ color: rgb(207, 151, 203);
/* oklch */ color: oklch(74.7% 0.096 328.9);
Tailwind
colors: {
  custom: {
    50: '#deb6db',
    500: '#cf97cb',
    950: '#000000',
  },
}
SCSS
$custom: #cf97cb;
$custom-light: #deb6db;
$custom-dark: #000000;
JSON
{
  "hex": "#cf97cb",
  "rgb": {
    "r": 207,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 304.286,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74661,
    "c": 0.09616,
    "h": 328.9
  },
  "luminance": 0.3971
}

Semantic roles & 50–950 ramp

primary
#CF97CB
secondary
#D9E9DA
accent
#B03E36
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151115
muted
#838083

Preview Lab

Preview with #CF97CB

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

Preview Lab → · Contrast checker → · Palette generator →

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