#CA97CE#CA97CE

#CA97CE is a light, moderate purple. Relative luminance 0.391; OKLCH L 74.3% C 0.096 H 324.1°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CA97CE
RGBrgb(202, 151, 206)
HSLhsl(296, 36%, 70%)
HSVhsv(296, 27%, 81%)
CMYKcmyk(1.9%, 26.7%, 0%, 19.2%)
CIE-LABlab(68.86, 28.39, -20.78)
CIE-LCHlch(68.86, 35.18, 323.80°)
OKLaboklab(74.27% 0.0775 -0.0562)
OKLCHoklch(74.27% 0.096 324.1)
XYZxyz(46.5630, 39.1473, 63.4839)
Luminance0.3915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA97CE #9BCE97
analogous
#AE97CE #CA97CE #CE97B7
triadic
#CA97CE #CECA97 #97CECA
tetradic
#CA97CE #CEAE97 #9BCE97 #97B7CE
square
#CA97CE #CEAE97 #9BCE97 #97B7CE
split-complementary
#CA97CE #B7CE97 #97CEAE
monochromatic
#994B9F #B56DBA #CA97CE #DFC1E2 #F4EAF5

Accessibility & contrast

On white

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

On black

8.83
#CA97CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA97CE
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA97CE#FFFFFF#000000##000000
##CA97CE1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A4D0
Deuteranopia (green-blind)
#9EAACC
Tritanopia (blue-blind)
#CD9CAA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca97ce;
/* rgb */ color: rgb(202, 151, 206);
/* oklch */ color: oklch(74.3% 0.096 324.1);
Tailwind
colors: {
  custom: {
    50: '#dab6dd',
    500: '#ca97ce',
    950: '#000000',
  },
}
SCSS
$custom: #ca97ce;
$custom-light: #dab6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca97ce",
  "rgb": {
    "r": 202,
    "g": 151,
    "b": 206
  },
  "hsl": {
    "h": 295.636,
    "s": 35.948,
    "l": 70
  },
  "oklch": {
    "l": 0.74268,
    "c": 0.09575,
    "h": 324.1
  },
  "luminance": 0.39146
}

Semantic roles & 50–950 ramp

primary
#CA97CE
secondary
#DAE8D9
accent
#AF373F
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CA97CE

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

Preview Lab → · Contrast checker → · Palette generator →

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