#CF97CE#CF97CE

#CF97CE is a light, moderate purple. Relative luminance 0.399; OKLCH L 74.8% C 0.099 H 327.1°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#CF97CE
RGBrgb(207, 151, 206)
HSLhsl(301, 37%, 70%)
HSVhsv(301, 27%, 81%)
CMYKcmyk(0%, 27.1%, 0.5%, 18.8%)
CIE-LABlab(69.37, 30.04, -19.95)
CIE-LCHlch(69.37, 36.06, 326.40°)
OKLaboklab(74.77% 0.0832 -0.0538)
OKLCHoklch(74.77% 0.099 327.1)
XYZxyz(47.9382, 39.8564, 63.5484)
Luminance0.3986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF97CE #97CF98
analogous
#B497CF #CF97CE #CF97B2
triadic
#CF97CE #CECF97 #97CECF
tetradic
#CF97CE #CFB497 #97CF98 #97B2CF
square
#CF97CE #CFB497 #97CF98 #97B2CF
split-complementary
#CF97CE #B2CF97 #97CFB4
monochromatic
#A14AA0 #BC6DBA #CF97CE #E2C1E2 #F5EAF5

Accessibility & contrast

On white

2.34
#CF97CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#CF97CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF97CE
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF97CE#FFFFFF#000000##000000
##CF97CE1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A5D0
Deuteranopia (green-blind)
#A1ACCC
Tritanopia (blue-blind)
#D39CAA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf97ce;
/* rgb */ color: rgb(207, 151, 206);
/* oklch */ color: oklch(74.8% 0.099 327.1);
Tailwind
colors: {
  custom: {
    50: '#deb6dd',
    500: '#cf97ce',
    950: '#000000',
  },
}
SCSS
$custom: #cf97ce;
$custom-light: #deb6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf97ce",
  "rgb": {
    "r": 207,
    "g": 151,
    "b": 206
  },
  "hsl": {
    "h": 301.071,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74774,
    "c": 0.09913,
    "h": 327.1
  },
  "luminance": 0.39855
}

Semantic roles & 50–950 ramp

primary
#CF97CE
secondary
#D9E9D9
accent
#B03836
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CF97CE

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

Preview Lab → · Contrast checker → · Palette generator →

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