#CA96CC#CA96CC

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

Color values

HEX#CA96CC
RGBrgb(202, 150, 204)
HSLhsl(298, 35%, 69%)
HSVhsv(298, 26%, 80%)
CMYKcmyk(1%, 26.5%, 0%, 20%)
CIE-LABlab(68.56, 28.56, -20.13)
CIE-LCHlch(68.56, 34.94, 324.83°)
OKLaboklab(74.01% 0.0784 -0.0544)
OKLCHoklch(74.01% 0.095 325.3)
XYZxyz(46.1614, 38.7302, 62.1591)
Luminance0.3873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA96CC #98CC96
analogous
#AF96CC #CA96CC #CC96B3
triadic
#CA96CC #CCCA96 #96CCCA
tetradic
#CA96CC #CCAF96 #98CC96 #96B3CC
square
#CA96CC #CCAF96 #98CC96 #96B3CC
split-complementary
#CA96CC #B3CC96 #96CCAF
monochromatic
#994C9C #B56DB8 #CA96CC #DFBFE0 #F4E8F4

Accessibility & contrast

On white

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

On black

8.75
#CA96CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA96CC
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA96CC#FFFFFF#000000##000000
##CA96CC1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca96cc;
/* rgb */ color: rgb(202, 150, 204);
/* oklch */ color: oklch(74.0% 0.095 325.3);
Tailwind
colors: {
  custom: {
    50: '#dab5db',
    500: '#ca96cc',
    950: '#000000',
  },
}
SCSS
$custom: #ca96cc;
$custom-light: #dab5db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca96cc",
  "rgb": {
    "r": 202,
    "g": 150,
    "b": 204
  },
  "hsl": {
    "h": 297.778,
    "s": 34.615,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74014,
    "c": 0.09545,
    "h": 325.3
  },
  "luminance": 0.38729
}

Semantic roles & 50–950 ramp

primary
#CA96CC
secondary
#D8E7D7
accent
#AD383C
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CA96CC

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

Preview Lab → · Contrast checker → · Palette generator →

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