#CA97D5#CA97D5

#CA97D5 is a light, moderate purple. Relative luminance 0.395; OKLCH L 74.5% C 0.103 H 320.3°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#CA97D5
RGBrgb(202, 151, 213)
HSLhsl(289, 42%, 71%)
HSVhsv(289, 29%, 84%)
CMYKcmyk(5.2%, 29.1%, 0%, 16.5%)
CIE-LABlab(69.11, 29.75, -24.27)
CIE-LCHlch(69.11, 38.39, 320.80°)
OKLaboklab(74.54% 0.0795 -0.066)
OKLCHoklch(74.54% 0.103 320.3)
XYZxyz(47.4324, 39.4950, 68.0625)
Luminance0.3949 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA97D5 #A2D597
analogous
#AB97D5 #CA97D5 #D597C1
triadic
#CA97D5 #D5CA97 #97D5CA
tetradic
#CA97D5 #D5AB97 #A2D597 #97C1D5
square
#CA97D5 #D5AB97 #A2D597 #97C1D5
split-complementary
#CA97D5 #C1D597 #97D5AB
monochromatic
#9A46AC #B46BC3 #CA97D5 #E0C3E7 #F4E9F6

Accessibility & contrast

On white

2.36
#CA97D5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#CA97D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA97D5
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA97D5#FFFFFF#000000##000000
##CA97D51.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A5D7
Deuteranopia (green-blind)
#9CABD3
Tritanopia (blue-blind)
#CB9EAD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca97d5;
/* rgb */ color: rgb(202, 151, 213);
/* oklch */ color: oklch(74.5% 0.103 320.3);
Tailwind
colors: {
  custom: {
    50: '#dbb6e2',
    500: '#ca97d5',
    950: '#000000',
  },
}
SCSS
$custom: #ca97d5;
$custom-light: #dbb6e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca97d5",
  "rgb": {
    "r": 202,
    "g": 151,
    "b": 213
  },
  "hsl": {
    "h": 289.355,
    "s": 42.466,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74542,
    "c": 0.10333,
    "h": 320.3
  },
  "luminance": 0.39494
}

Semantic roles & 50–950 ramp

primary
#CA97D5
secondary
#DFECDC
accent
#B63048
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CA97D5

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

Preview Lab → · Contrast checker → · Palette generator →

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