#CA96DE#CA96DE

#CA96DE is a light, moderate purple. Relative luminance 0.396; OKLCH L 74.7% C 0.115 H 316.4°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#CA96DE
RGBrgb(202, 150, 222)
HSLhsl(283, 52%, 73%)
HSVhsv(283, 32%, 87%)
CMYKcmyk(9%, 32.4%, 0%, 12.9%)
CIE-LABlab(69.22, 32.09, -29.07)
CIE-LCHlch(69.22, 43.30, 317.83°)
OKLaboklab(74.74% 0.0834 -0.0795)
OKLCHoklch(74.74% 0.115 316.4)
XYZxyz(48.4463, 39.6442, 74.1931)
Luminance0.3964 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA96DE #AADE96
analogous
#A696DE #CA96DE #DE96CE
triadic
#CA96DE #DECA96 #96DECA
tetradic
#CA96DE #DEA696 #AADE96 #96CEDE
square
#CA96DE #DEA696 #AADE96 #96CEDE
split-complementary
#CA96DE #CEDE96 #96DEA6
monochromatic
#9A3CBE #B267CF #CA96DE #E2C5ED #F3E8F8

Accessibility & contrast

On white

2.35
#CA96DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#CA96DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA96DE
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA96DE#FFFFFF#000000##000000
##CA96DE1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA6E1
Deuteranopia (green-blind)
#98ABDC
Tritanopia (blue-blind)
#CA9FB0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca96de;
/* rgb */ color: rgb(202, 150, 222);
/* oklch */ color: oklch(74.7% 0.115 316.4);
Tailwind
colors: {
  custom: {
    50: '#dbb5e8',
    500: '#ca96de',
    950: '#000000',
  },
}
SCSS
$custom: #ca96de;
$custom-light: #dbb5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca96de",
  "rgb": {
    "r": 202,
    "g": 150,
    "b": 222
  },
  "hsl": {
    "h": 283.333,
    "s": 52.174,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74735,
    "c": 0.11526,
    "h": 316.4
  },
  "luminance": 0.39643
}

Semantic roles & 50–950 ramp

primary
#CA96DE
secondary
#E1EFDC
accent
#C02651
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA96DE

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

Preview Lab → · Contrast checker → · Palette generator →

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