#CA97D3#CA97D3

#CA97D3 is a light, moderate purple. Relative luminance 0.394; OKLCH L 74.5% C 0.101 H 321.3°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#CA97D3
RGBrgb(202, 151, 211)
HSLhsl(291, 41%, 71%)
HSVhsv(291, 28%, 83%)
CMYKcmyk(4.3%, 28.4%, 0%, 17.3%)
CIE-LABlab(69.04, 29.36, -23.27)
CIE-LCHlch(69.04, 37.46, 321.60°)
OKLaboklab(74.46% 0.079 -0.0632)
OKLCHoklch(74.46% 0.101 321.3)
XYZxyz(47.1801, 39.3941, 66.7339)
Luminance0.3939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA97D3 #A0D397
analogous
#AC97D3 #CA97D3 #D397BE
triadic
#CA97D3 #D3CA97 #97D3CA
tetradic
#CA97D3 #D3AC97 #A0D397 #97BED3
square
#CA97D3 #D3AC97 #A0D397 #97BED3
split-complementary
#CA97D3 #BED397 #97D3AC
monochromatic
#9A47A8 #B46CC1 #CA97D3 #E0C2E5 #F4E9F6

Accessibility & contrast

On white

2.37
#CA97D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#CA97D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA97D3
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA97D3#FFFFFF#000000##000000
##CA97D31.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A5D5
Deuteranopia (green-blind)
#9CAAD1
Tritanopia (blue-blind)
#CC9DAC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca97d3;
/* rgb */ color: rgb(202, 151, 211);
/* oklch */ color: oklch(74.5% 0.101 321.3);
Tailwind
colors: {
  custom: {
    50: '#dbb6e0',
    500: '#ca97d3',
    950: '#000000',
  },
}
SCSS
$custom: #ca97d3;
$custom-light: #dbb6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca97d3",
  "rgb": {
    "r": 202,
    "g": 151,
    "b": 211
  },
  "hsl": {
    "h": 291,
    "s": 40.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74463,
    "c": 0.10113,
    "h": 321.3
  },
  "luminance": 0.39393
}

Semantic roles & 50–950 ramp

primary
#CA97D3
secondary
#DDEBDB
accent
#B43245
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CA97D3

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

Preview Lab → · Contrast checker → · Palette generator →

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