#CA97CD#CA97CD

#CA97CD is a light, moderate purple. Relative luminance 0.391; OKLCH L 74.2% C 0.095 H 324.6°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#CA97CD
RGBrgb(202, 151, 205)
HSLhsl(297, 35%, 70%)
HSVhsv(297, 26%, 80%)
CMYKcmyk(1.5%, 26.3%, 0%, 19.6%)
CIE-LABlab(68.82, 28.20, -20.27)
CIE-LCHlch(68.82, 34.73, 324.29°)
OKLaboklab(74.23% 0.0772 -0.0548)
OKLCHoklch(74.23% 0.095 324.6)
XYZxyz(46.4420, 39.0989, 62.8462)
Luminance0.3910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA97CD #9ACD97
analogous
#AF97CD #CA97CD #CD97B5
triadic
#CA97CD #CDCA97 #97CDCA
tetradic
#CA97CD #CDAF97 #9ACD97 #97B5CD
square
#CA97CD #CDAF97 #9ACD97 #97B5CD
split-complementary
#CA97CD #B5CD97 #97CDAF
monochromatic
#994C9E #B56EB9 #CA97CD #DFC0E1 #F4EAF5

Accessibility & contrast

On white

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

On black

8.82
#CA97CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA97CD
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA97CD#FFFFFF#000000##000000
##CA97CD1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A4CF
Deuteranopia (green-blind)
#9EAACB
Tritanopia (blue-blind)
#CD9CAA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca97cd;
/* rgb */ color: rgb(202, 151, 205);
/* oklch */ color: oklch(74.2% 0.095 324.6);
Tailwind
colors: {
  custom: {
    50: '#dab6dc',
    500: '#ca97cd',
    950: '#000000',
  },
}
SCSS
$custom: #ca97cd;
$custom-light: #dab6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca97cd",
  "rgb": {
    "r": 202,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 296.667,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7423,
    "c": 0.09469,
    "h": 324.6
  },
  "luminance": 0.39098
}

Semantic roles & 50–950 ramp

primary
#CA97CD
secondary
#D9E8D8
accent
#AE383E
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CA97CD

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

Preview Lab → · Contrast checker → · Palette generator →

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