#CA96CB#CA96CB

#CA96CB is a light, moderate purple. Relative luminance 0.387; OKLCH L 74.0% C 0.094 H 325.9°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#CA96CB
RGBrgb(202, 150, 203)
HSLhsl(299, 34%, 69%)
HSVhsv(299, 26%, 80%)
CMYKcmyk(0.5%, 26.1%, 0%, 20.4%)
CIE-LABlab(68.52, 28.37, -19.62)
CIE-LCHlch(68.52, 34.50, 325.33°)
OKLaboklab(73.98% 0.0782 -0.053)
OKLCHoklch(73.98% 0.094 325.9)
XYZxyz(46.0418, 38.6824, 61.5294)
Luminance0.3868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA96CB #97CB96
analogous
#B096CB #CA96CB #CB96B2
triadic
#CA96CB #CBCA96 #96CBCA
tetradic
#CA96CB #CBB096 #97CB96 #96B2CB
square
#CA96CB #CBB096 #97CB96 #96B2CB
split-complementary
#CA96CB #B2CB96 #96CBB0
monochromatic
#994C9A #B56DB7 #CA96CB #DFBFDF #F3E8F4

Accessibility & contrast

On white

2.40
#CA96CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#CA96CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA96CB
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA96CB#FFFFFF#000000##000000
##CA96CB1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A3CD
Deuteranopia (green-blind)
#9EA9C9
Tritanopia (blue-blind)
#CD9BA9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca96cb;
/* rgb */ color: rgb(202, 150, 203);
/* oklch */ color: oklch(74.0% 0.094 325.9);
Tailwind
colors: {
  custom: {
    50: '#dab5db',
    500: '#ca96cb',
    950: '#000000',
  },
}
SCSS
$custom: #ca96cb;
$custom-light: #dab5db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca96cb",
  "rgb": {
    "r": 202,
    "g": 150,
    "b": 203
  },
  "hsl": {
    "h": 298.868,
    "s": 33.758,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73976,
    "c": 0.09442,
    "h": 325.9
  },
  "luminance": 0.38681
}

Semantic roles & 50–950 ramp

primary
#CA96CB
secondary
#D7E6D7
accent
#AD393B
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151115
muted
#838083

Preview Lab

Preview with #CA96CB

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

Preview Lab → · Contrast checker → · Palette generator →

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