#CA97CC#CA97CC

#CA97CC is a light, moderate purple. Relative luminance 0.390; OKLCH L 74.2% C 0.094 H 325.2°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#CA97CC
RGBrgb(202, 151, 204)
HSLhsl(298, 34%, 70%)
HSVhsv(298, 26%, 80%)
CMYKcmyk(1%, 26%, 0%, 20%)
CIE-LABlab(68.79, 28.01, -19.77)
CIE-LCHlch(68.79, 34.29, 324.78°)
OKLaboklab(74.19% 0.0769 -0.0534)
OKLCHoklch(74.19% 0.094 325.2)
XYZxyz(46.3216, 39.0507, 62.2125)
Luminance0.3905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA97CC #99CC97
analogous
#B097CC #CA97CC #CC97B4
triadic
#CA97CC #CCCA97 #97CCCA
tetradic
#CA97CC #CCB097 #99CC97 #97B4CC
square
#CA97CC #CCB097 #99CC97 #97B4CC
split-complementary
#CA97CC #B4CC97 #97CCB0
monochromatic
#994D9C #B56EB8 #CA97CC #DFC0E0 #F4E9F4

Accessibility & contrast

On white

2.38
#CA97CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#CA97CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA97CC
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA97CC#FFFFFF#000000##000000
##CA97CC1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A4CE
Deuteranopia (green-blind)
#9FAACA
Tritanopia (blue-blind)
#CD9CAA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca97cc;
/* rgb */ color: rgb(202, 151, 204);
/* oklch */ color: oklch(74.2% 0.094 325.2);
Tailwind
colors: {
  custom: {
    50: '#dab6db',
    500: '#ca97cc',
    950: '#000000',
  },
}
SCSS
$custom: #ca97cc;
$custom-light: #dab6db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca97cc",
  "rgb": {
    "r": 202,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 297.736,
    "s": 34.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74192,
    "c": 0.09364,
    "h": 325.2
  },
  "luminance": 0.39049
}

Semantic roles & 50–950 ramp

primary
#CA97CC
secondary
#D8E7D8
accent
#AD383D
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CA97CC

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

Preview Lab → · Contrast checker → · Palette generator →

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