#CA97DE#CA97DE

#CA97DE is a light, moderate purple. Relative luminance 0.400; OKLCH L 74.9% C 0.114 H 316.2°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#CA97DE
RGBrgb(202, 151, 222)
HSLhsl(283, 52%, 73%)
HSVhsv(283, 32%, 87%)
CMYKcmyk(9%, 32%, 0%, 12.9%)
CIE-LABlab(69.44, 31.55, -28.72)
CIE-LCHlch(69.44, 42.66, 317.69°)
OKLaboklab(74.91% 0.0819 -0.0785)
OKLCHoklch(74.91% 0.114 316.2)
XYZxyz(48.6066, 39.9647, 74.2465)
Luminance0.3996 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA97DE #ABDE97
analogous
#A697DE #CA97DE #DE97CE
triadic
#CA97DE #DECA97 #97DECA
tetradic
#CA97DE #DEA697 #ABDE97 #97CEDE
square
#CA97DE #DEA697 #ABDE97 #97CEDE
split-complementary
#CA97DE #CEDE97 #97DEA6
monochromatic
#9A3CBE #B269CF #CA97DE #E2C5ED #F3E8F8

Accessibility & contrast

On white

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

On black

8.99
#CA97DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA97DE
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA97DE#FFFFFF#000000##000000
##CA97DE1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA6E1
Deuteranopia (green-blind)
#99ABDC
Tritanopia (blue-blind)
#C9A0B1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca97de;
/* rgb */ color: rgb(202, 151, 222);
/* oklch */ color: oklch(74.9% 0.114 316.2);
Tailwind
colors: {
  custom: {
    50: '#dbb6e8',
    500: '#ca97de',
    950: '#000000',
  },
}
SCSS
$custom: #ca97de;
$custom-light: #dbb6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca97de",
  "rgb": {
    "r": 202,
    "g": 151,
    "b": 222
  },
  "hsl": {
    "h": 283.099,
    "s": 51.825,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74909,
    "c": 0.1135,
    "h": 316.2
  },
  "luminance": 0.39964
}

Semantic roles & 50–950 ramp

primary
#CA97DE
secondary
#E1EFDC
accent
#BF2651
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA97DE

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

Preview Lab → · Contrast checker → · Palette generator →

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