#CA97CF#CA97CF

#CA97CF is a light, moderate purple. Relative luminance 0.392; OKLCH L 74.3% C 0.097 H 323.5°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#CA97CF
RGBrgb(202, 151, 207)
HSLhsl(295, 37%, 70%)
HSVhsv(295, 27%, 81%)
CMYKcmyk(2.4%, 27.1%, 0%, 18.8%)
CIE-LABlab(68.89, 28.58, -21.28)
CIE-LCHlch(68.89, 35.63, 323.34°)
OKLaboklab(74.31% 0.0778 -0.0576)
OKLCHoklch(74.31% 0.097 323.5)
XYZxyz(46.6849, 39.1960, 64.1257)
Luminance0.3920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA97CF #9CCF97
analogous
#AE97CF #CA97CF #CF97B8
triadic
#CA97CF #CFCA97 #97CFCA
tetradic
#CA97CF #CFAE97 #9CCF97 #97B8CF
square
#CA97CF #CFAE97 #9CCF97 #97B8CF
split-complementary
#CA97CF #B8CF97 #97CFAE
monochromatic
#994AA1 #B56DBC #CA97CF #DFC1E2 #F4EAF5

Accessibility & contrast

On white

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

On black

8.84
#CA97CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA97CF
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA97CF#FFFFFF#000000##000000
##CA97CF1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A4D1
Deuteranopia (green-blind)
#9EAACD
Tritanopia (blue-blind)
#CC9CAB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca97cf;
/* rgb */ color: rgb(202, 151, 207);
/* oklch */ color: oklch(74.3% 0.097 323.5);
Tailwind
colors: {
  custom: {
    50: '#dab6dd',
    500: '#ca97cf',
    950: '#000000',
  },
}
SCSS
$custom: #ca97cf;
$custom-light: #dab6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca97cf",
  "rgb": {
    "r": 202,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 294.643,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74307,
    "c": 0.09681,
    "h": 323.5
  },
  "luminance": 0.39195
}

Semantic roles & 50–950 ramp

primary
#CA97CF
secondary
#DBE9D9
accent
#B03641
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CA97CF

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

Preview Lab → · Contrast checker → · Palette generator →

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