#CF97CF#CF97CF

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

Color values

HEX#CF97CF
RGBrgb(207, 151, 207)
HSLhsl(300, 37%, 70%)
HSVhsv(300, 27%, 81%)
CMYKcmyk(0%, 27.1%, 0%, 18.8%)
CIE-LABlab(69.40, 30.23, -20.46)
CIE-LCHlch(69.40, 36.50, 325.91°)
OKLaboklab(74.81% 0.0835 -0.0552)
OKLCHoklch(74.81% 0.1 326.5)
XYZxyz(48.0601, 39.9051, 64.1902)
Luminance0.3990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF97CF #97CF97
analogous
#B397CF #CF97CF #CF97B3
triadic
#CF97CF #CFCF97 #97CFCF
tetradic
#CF97CF #CFB397 #97CF97 #97B3CF
square
#CF97CF #CFB397 #97CF97 #97B3CF
split-complementary
#CF97CF #B3CF97 #97CFB3
monochromatic
#A14AA1 #BC6DBC #CF97CF #E2C1E2 #F5EAF5

Accessibility & contrast

On white

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

On black

8.98
#CF97CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF97CF
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF97CF#FFFFFF#000000##000000
##CF97CF1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A5D1
Deuteranopia (green-blind)
#A0ACCD
Tritanopia (blue-blind)
#D39CAB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf97cf;
/* rgb */ color: rgb(207, 151, 207);
/* oklch */ color: oklch(74.8% 0.100 326.5);
Tailwind
colors: {
  custom: {
    50: '#deb6dd',
    500: '#cf97cf',
    950: '#000000',
  },
}
SCSS
$custom: #cf97cf;
$custom-light: #deb6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf97cf",
  "rgb": {
    "r": 207,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 300,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74812,
    "c": 0.10014,
    "h": 326.5
  },
  "luminance": 0.39904
}

Semantic roles & 50–950 ramp

primary
#CF97CF
secondary
#D9E9D9
accent
#B03636
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CF97CF

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

Preview Lab → · Contrast checker → · Palette generator →

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