#CA97CA#CA97CA

#CA97CA is a light, moderate purple. Relative luminance 0.390; OKLCH L 74.1% C 0.092 H 326.5°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#CA97CA
RGBrgb(202, 151, 202)
HSLhsl(300, 32%, 69%)
HSVhsv(300, 25%, 79%)
CMYKcmyk(0%, 25.2%, 0%, 20.8%)
CIE-LABlab(68.72, 27.63, -18.77)
CIE-LCHlch(68.72, 33.40, 325.81°)
OKLaboklab(74.12% 0.0763 -0.0506)
OKLCHoklch(74.12% 0.092 326.5)
XYZxyz(46.0833, 38.9554, 60.9573)
Luminance0.3895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA97CA #97CA97
analogous
#B197CA #CA97CA #CA97B1
triadic
#CA97CA #CACA97 #97CACA
tetradic
#CA97CA #CAB197 #97CA97 #97B1CA
square
#CA97CA #CAB197 #97CA97 #97B1CA
split-complementary
#CA97CA #B1CA97 #97CAB1
monochromatic
#994E99 #B56EB5 #CA97CA #DFC0DF #F3E8F3

Accessibility & contrast

On white

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

On black

8.79
#CA97CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA97CA
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA97CA#FFFFFF#000000##000000
##CA97CA1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A4CC
Deuteranopia (green-blind)
#9FAAC8
Tritanopia (blue-blind)
#CD9BA9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca97ca;
/* rgb */ color: rgb(202, 151, 202);
/* oklch */ color: oklch(74.1% 0.092 326.5);
Tailwind
colors: {
  custom: {
    50: '#dab6da',
    500: '#ca97ca',
    950: '#000000',
  },
}
SCSS
$custom: #ca97ca;
$custom-light: #dab6da;
$custom-dark: #000000;
JSON
{
  "hex": "#ca97ca",
  "rgb": {
    "r": 202,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 32.484,
    "l": 69.216
  },
  "oklch": {
    "l": 0.74116,
    "c": 0.09158,
    "h": 326.5
  },
  "luminance": 0.38954
}

Semantic roles & 50–950 ramp

primary
#CA97CA
secondary
#D7E6D7
accent
#AB3A3A
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CA97CA

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

Preview Lab → · Contrast checker → · Palette generator →

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