#CF97CA#CF97CA

#CF97CA is a light, moderate purple. Relative luminance 0.397; OKLCH L 74.6% C 0.095 H 329.5°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#CF97CA
RGBrgb(207, 151, 202)
HSLhsl(305, 37%, 70%)
HSVhsv(305, 27%, 81%)
CMYKcmyk(0%, 27.1%, 2.4%, 18.8%)
CIE-LABlab(69.23, 29.30, -17.95)
CIE-LCHlch(69.23, 34.36, 328.51°)
OKLaboklab(74.62% 0.082 -0.0483)
OKLCHoklch(74.62% 0.095 329.5)
XYZxyz(47.4585, 39.6645, 61.0217)
Luminance0.3966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF97CA #97CF9C
analogous
#B897CF #CF97CA #CF97AE
triadic
#CF97CA #CACF97 #97CACF
tetradic
#CF97CA #CFB897 #97CF9C #97AECF
square
#CF97CA #CFB897 #97CF9C #97AECF
split-complementary
#CF97CA #AECF97 #97CFB8
monochromatic
#A14A99 #BC6DB5 #CF97CA #E2C1DF #F5EAF4

Accessibility & contrast

On white

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

On black

8.93
#CF97CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF97CA
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF97CA#FFFFFF#000000##000000
##CF97CA1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf97ca;
/* rgb */ color: rgb(207, 151, 202);
/* oklch */ color: oklch(74.6% 0.095 329.5);
Tailwind
colors: {
  custom: {
    50: '#deb6da',
    500: '#cf97ca',
    950: '#000000',
  },
}
SCSS
$custom: #cf97ca;
$custom-light: #deb6da;
$custom-dark: #000000;
JSON
{
  "hex": "#cf97ca",
  "rgb": {
    "r": 207,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 305.357,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74624,
    "c": 0.09517,
    "h": 329.5
  },
  "luminance": 0.39663
}

Semantic roles & 50–950 ramp

primary
#CF97CA
secondary
#D9E9DB
accent
#B04136
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CF97CA

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

Preview Lab → · Contrast checker → · Palette generator →

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