#CA96DB#CA96DB

#CA96DB is a light, moderate purple. Relative luminance 0.395; OKLCH L 74.6% C 0.112 H 317.6°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#CA96DB
RGBrgb(202, 150, 219)
HSLhsl(285, 49%, 72%)
HSVhsv(285, 32%, 86%)
CMYKcmyk(7.8%, 31.5%, 0%, 14.1%)
CIE-LABlab(69.10, 31.49, -27.59)
CIE-LCHlch(69.10, 41.87, 318.77°)
OKLaboklab(74.61% 0.0826 -0.0753)
OKLCHoklch(74.61% 0.112 317.6)
XYZxyz(48.0478, 39.4848, 72.0943)
Luminance0.3948 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA96DB #A7DB96
analogous
#A796DB #CA96DB #DB96CA
triadic
#CA96DB #DBCA96 #96DBCA
tetradic
#CA96DB #DBA796 #A7DB96 #96CADB
square
#CA96DB #DBA796 #A7DB96 #96CADB
split-complementary
#CA96DB #CADB96 #96DBA7
monochromatic
#9A3FB8 #B368CB #CA96DB #E1C4EB #F3E8F7

Accessibility & contrast

On white

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

On black

8.90
#CA96DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA96DB
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA96DB#FFFFFF#000000##000000
##CA96DB1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca96db;
/* rgb */ color: rgb(202, 150, 219);
/* oklch */ color: oklch(74.6% 0.112 317.6);
Tailwind
colors: {
  custom: {
    50: '#dbb5e6',
    500: '#ca96db',
    950: '#000000',
  },
}
SCSS
$custom: #ca96db;
$custom-light: #dbb5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca96db",
  "rgb": {
    "r": 202,
    "g": 150,
    "b": 219
  },
  "hsl": {
    "h": 285.217,
    "s": 48.936,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7461,
    "c": 0.11183,
    "h": 317.6
  },
  "luminance": 0.39484
}

Semantic roles & 50–950 ramp

primary
#CA96DB
secondary
#E1EEDD
accent
#BC294D
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA96DB

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

Preview Lab → · Contrast checker → · Palette generator →

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