#CA97C8#CA97C8

#CA97C8 is a light, moderate purple. Relative luminance 0.389; OKLCH L 74.0% C 0.090 H 327.7°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#CA97C8
RGBrgb(202, 151, 200)
HSLhsl(302, 32%, 69%)
HSVhsv(302, 25%, 79%)
CMYKcmyk(0%, 25.2%, 1%, 20.8%)
CIE-LABlab(68.65, 27.26, -17.76)
CIE-LCHlch(68.65, 32.53, 326.91°)
OKLaboklab(74.04% 0.0757 -0.0478)
OKLCHoklch(74.04% 0.09 327.7)
XYZxyz(45.8480, 38.8613, 59.7182)
Luminance0.3886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA97C8 #97CA99
analogous
#B397CA #CA97C8 #CA97AF
triadic
#CA97C8 #C8CA97 #97C8CA
tetradic
#CA97C8 #CAB397 #97CA99 #97AFCA
square
#CA97C8 #CAB397 #97CA99 #97AFCA
split-complementary
#CA97C8 #AFCA97 #97CAB3
monochromatic
#994E96 #B56EB3 #CA97C8 #DFC0DD #F3E8F3

Accessibility & contrast

On white

2.39
#CA97C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#CA97C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA97C8
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA97C8#FFFFFF#000000##000000
##CA97C81.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A3CA
Deuteranopia (green-blind)
#A0AAC6
Tritanopia (blue-blind)
#CE9BA8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca97c8;
/* rgb */ color: rgb(202, 151, 200);
/* oklch */ color: oklch(74.0% 0.090 327.7);
Tailwind
colors: {
  custom: {
    50: '#dab6d8',
    500: '#ca97c8',
    950: '#000000',
  },
}
SCSS
$custom: #ca97c8;
$custom-light: #dab6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca97c8",
  "rgb": {
    "r": 202,
    "g": 151,
    "b": 200
  },
  "hsl": {
    "h": 302.353,
    "s": 32.484,
    "l": 69.216
  },
  "oklch": {
    "l": 0.74042,
    "c": 0.08954,
    "h": 327.7
  },
  "luminance": 0.3886
}

Semantic roles & 50–950 ramp

primary
#CA97C8
secondary
#D7E6D8
accent
#AB3F3A
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CA97C8

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

Preview Lab → · Contrast checker → · Palette generator →

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