#CA97DD#CA97DD

#CA97DD is a light, moderate purple. Relative luminance 0.399; OKLCH L 74.9% C 0.112 H 316.6°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#CA97DD
RGBrgb(202, 151, 221)
HSLhsl(284, 51%, 73%)
HSVhsv(284, 32%, 87%)
CMYKcmyk(8.6%, 31.7%, 0%, 13.3%)
CIE-LABlab(69.41, 31.34, -28.23)
CIE-LCHlch(69.41, 42.18, 318.00°)
OKLaboklab(74.87% 0.0817 -0.0771)
OKLCHoklch(74.87% 0.112 316.6)
XYZxyz(48.4729, 39.9113, 73.5427)
Luminance0.3991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA97DD #AADD97
analogous
#A797DD #CA97DD #DD97CD
triadic
#CA97DD #DDCA97 #97DDCA
tetradic
#CA97DD #DDA797 #AADD97 #97CDDD
square
#CA97DD #DDA797 #AADD97 #97CDDD
split-complementary
#CA97DD #CDDD97 #97DDA7
monochromatic
#9A3DBC #B269CE #CA97DD #E2C5EC #F3E8F7

Accessibility & contrast

On white

2.34
#CA97DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#CA97DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA97DD
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA97DD#FFFFFF#000000##000000
##CA97DD1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA6E0
Deuteranopia (green-blind)
#99ABDB
Tritanopia (blue-blind)
#CA9FB0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca97dd;
/* rgb */ color: rgb(202, 151, 221);
/* oklch */ color: oklch(74.9% 0.112 316.6);
Tailwind
colors: {
  custom: {
    50: '#dbb6e7',
    500: '#ca97dd',
    950: '#000000',
  },
}
SCSS
$custom: #ca97dd;
$custom-light: #dbb6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca97dd",
  "rgb": {
    "r": 202,
    "g": 151,
    "b": 221
  },
  "hsl": {
    "h": 283.714,
    "s": 50.725,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74868,
    "c": 0.11236,
    "h": 316.6
  },
  "luminance": 0.3991
}

Semantic roles & 50–950 ramp

primary
#CA97DD
secondary
#E1EFDC
accent
#BE2750
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA97DD

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

Preview Lab → · Contrast checker → · Palette generator →

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