#CA96DC#CA96DC

#CA96DC is a light, moderate purple. Relative luminance 0.395; OKLCH L 74.7% C 0.113 H 317.2°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#CA96DC
RGBrgb(202, 150, 220)
HSLhsl(285, 50%, 73%)
HSVhsv(285, 32%, 86%)
CMYKcmyk(8.2%, 31.8%, 0%, 13.7%)
CIE-LABlab(69.14, 31.69, -28.09)
CIE-LCHlch(69.14, 42.35, 318.45°)
OKLaboklab(74.65% 0.0829 -0.0767)
OKLCHoklch(74.65% 0.113 317.2)
XYZxyz(48.1799, 39.5376, 72.7897)
Luminance0.3954 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA96DC #A8DC96
analogous
#A796DC #CA96DC #DC96CB
triadic
#CA96DC #DCCA96 #96DCCA
tetradic
#CA96DC #DCA796 #A8DC96 #96CBDC
square
#CA96DC #DCA796 #A8DC96 #96CBDC
split-complementary
#CA96DC #CBDC96 #96DCA7
monochromatic
#9A3EBA #B368CD #CA96DC #E1C4EB #F3E8F7

Accessibility & contrast

On white

2.36
#CA96DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#CA96DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA96DC
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA96DC#FFFFFF#000000##000000
##CA96DC1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA5DF
Deuteranopia (green-blind)
#99AADA
Tritanopia (blue-blind)
#CA9EAF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca96dc;
/* rgb */ color: rgb(202, 150, 220);
/* oklch */ color: oklch(74.7% 0.113 317.2);
Tailwind
colors: {
  custom: {
    50: '#dbb5e7',
    500: '#ca96dc',
    950: '#000000',
  },
}
SCSS
$custom: #ca96dc;
$custom-light: #dbb5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca96dc",
  "rgb": {
    "r": 202,
    "g": 150,
    "b": 220
  },
  "hsl": {
    "h": 284.571,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74652,
    "c": 0.11297,
    "h": 317.2
  },
  "luminance": 0.39537
}

Semantic roles & 50–950 ramp

primary
#CA96DC
secondary
#E1EEDD
accent
#BD284F
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA96DC

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

Preview Lab → · Contrast checker → · Palette generator →

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