#CA97C2#CA97C2

#CA97C2 is a light, moderate purple. Relative luminance 0.386; OKLCH L 73.8% C 0.084 H 331.9°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#CA97C2
RGBrgb(202, 151, 194)
HSLhsl(309, 32%, 69%)
HSVhsv(309, 25%, 79%)
CMYKcmyk(0%, 25.2%, 4%, 20.8%)
CIE-LABlab(68.45, 26.15, -14.73)
CIE-LCHlch(68.45, 30.01, 330.61°)
OKLaboklab(73.82% 0.0738 -0.0394)
OKLCHoklch(73.82% 0.084 331.9)
XYZxyz(45.1606, 38.5863, 56.0975)
Luminance0.3859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA97C2 #97CA9F
analogous
#B997CA #CA97C2 #CA97A9
triadic
#CA97C2 #C2CA97 #97C2CA
tetradic
#CA97C2 #CAB997 #97CA9F #97A9CA
square
#CA97C2 #CAB997 #97CA9F #97A9CA
split-complementary
#CA97C2 #A9CA97 #97CAB9
monochromatic
#994E8D #B56EAA #CA97C2 #DFC0DA #F3E8F2

Accessibility & contrast

On white

2.41
#CA97C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#CA97C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA97C2
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA97C2#FFFFFF#000000##000000
##CA97C21.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A3C4
Deuteranopia (green-blind)
#A2A9C0
Tritanopia (blue-blind)
#CF9AA6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca97c2;
/* rgb */ color: rgb(202, 151, 194);
/* oklch */ color: oklch(73.8% 0.084 331.9);
Tailwind
colors: {
  custom: {
    50: '#dab6d4',
    500: '#ca97c2',
    950: '#000000',
  },
}
SCSS
$custom: #ca97c2;
$custom-light: #dab6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca97c2",
  "rgb": {
    "r": 202,
    "g": 151,
    "b": 194
  },
  "hsl": {
    "h": 309.412,
    "s": 32.484,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73822,
    "c": 0.08369,
    "h": 331.9
  },
  "luminance": 0.38585
}

Semantic roles & 50–950 ramp

primary
#CA97C2
secondary
#D7E6D9
accent
#AB4C3A
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CA97C2

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

Preview Lab → · Contrast checker → · Palette generator →

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