#CA97CB#CA97CB

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

Color values

HEX#CA97CB
RGBrgb(202, 151, 203)
HSLhsl(299, 33%, 69%)
HSVhsv(299, 26%, 80%)
CMYKcmyk(0.5%, 25.6%, 0%, 20.4%)
CIE-LABlab(68.75, 27.82, -19.27)
CIE-LCHlch(68.75, 33.84, 325.29°)
OKLaboklab(74.15% 0.0766 -0.052)
OKLCHoklch(74.15% 0.093 325.8)
XYZxyz(46.2021, 39.0029, 61.5828)
Luminance0.3900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA97CB #98CB97
analogous
#B097CB #CA97CB #CB97B2
triadic
#CA97CB #CBCA97 #97CBCA
tetradic
#CA97CB #CBB097 #98CB97 #97B2CB
square
#CA97CB #CBB097 #98CB97 #97B2CB
split-complementary
#CA97CB #B2CB97 #97CBB0
monochromatic
#994D9A #B56EB7 #CA97CB #DFC0DF #F4E9F4

Accessibility & contrast

On white

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

On black

8.80
#CA97CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA97CB
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA97CB#FFFFFF#000000##000000
##CA97CB1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A4CD
Deuteranopia (green-blind)
#9FAAC9
Tritanopia (blue-blind)
#CD9BA9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca97cb;
/* rgb */ color: rgb(202, 151, 203);
/* oklch */ color: oklch(74.2% 0.093 325.8);
Tailwind
colors: {
  custom: {
    50: '#dab6db',
    500: '#ca97cb',
    950: '#000000',
  },
}
SCSS
$custom: #ca97cb;
$custom-light: #dab6db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca97cb",
  "rgb": {
    "r": 202,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 298.846,
    "s": 33.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74154,
    "c": 0.0926,
    "h": 325.8
  },
  "luminance": 0.39002
}

Semantic roles & 50–950 ramp

primary
#CA97CB
secondary
#D8E6D7
accent
#AC393C
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151115
muted
#838083

Preview Lab

Preview with #CA97CB

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

Preview Lab → · Contrast checker → · Palette generator →

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