#CA96D2#CA96D2

#CA96D2 is a light, moderate purple. Relative luminance 0.390; OKLCH L 74.2% C 0.102 H 321.9°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#CA96D2
RGBrgb(202, 150, 210)
HSLhsl(292, 40%, 71%)
HSVhsv(292, 29%, 82%)
CMYKcmyk(3.8%, 28.6%, 0%, 17.6%)
CIE-LABlab(68.77, 29.71, -23.13)
CIE-LCHlch(68.77, 37.65, 322.10°)
OKLaboklab(74.25% 0.0802 -0.0628)
OKLCHoklch(74.25% 0.102 321.9)
XYZxyz(46.8949, 39.0236, 66.0223)
Luminance0.3902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA96D2 #9ED296
analogous
#AC96D2 #CA96D2 #D296BC
triadic
#CA96D2 #D2CA96 #96D2CA
tetradic
#CA96D2 #D2AC96 #9ED296 #96BCD2
square
#CA96D2 #D2AC96 #9ED296 #96BCD2
split-complementary
#CA96D2 #BCD296 #96D2AC
monochromatic
#9A47A6 #B46BC0 #CA96D2 #E0C1E4 #F4EAF6

Accessibility & contrast

On white

2.39
#CA96D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#CA96D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA96D2
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA96D2#FFFFFF#000000##000000
##CA96D21.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A4D4
Deuteranopia (green-blind)
#9CAAD0
Tritanopia (blue-blind)
#CC9CAB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca96d2;
/* rgb */ color: rgb(202, 150, 210);
/* oklch */ color: oklch(74.2% 0.102 321.9);
Tailwind
colors: {
  custom: {
    50: '#dbb5e0',
    500: '#ca96d2',
    950: '#000000',
  },
}
SCSS
$custom: #ca96d2;
$custom-light: #dbb5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca96d2",
  "rgb": {
    "r": 202,
    "g": 150,
    "b": 210
  },
  "hsl": {
    "h": 292,
    "s": 40,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74247,
    "c": 0.10183,
    "h": 321.9
  },
  "luminance": 0.39022
}

Semantic roles & 50–950 ramp

primary
#CA96D2
secondary
#DCEADA
accent
#B33244
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CA96D2

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

Preview Lab → · Contrast checker → · Palette generator →

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