#CA96DD#CA96DD

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

Color values

HEX#CA96DD
RGBrgb(202, 150, 221)
HSLhsl(284, 51%, 73%)
HSVhsv(284, 32%, 87%)
CMYKcmyk(8.6%, 32.1%, 0%, 13.3%)
CIE-LABlab(69.18, 31.89, -28.58)
CIE-LCHlch(69.18, 42.82, 318.14°)
OKLaboklab(74.69% 0.0832 -0.0781)
OKLCHoklch(74.69% 0.114 316.8)
XYZxyz(48.3127, 39.5907, 73.4893)
Luminance0.3959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA96DD #A9DD96
analogous
#A796DD #CA96DD #DD96CC
triadic
#CA96DD #DDCA96 #96DDCA
tetradic
#CA96DD #DDA796 #A9DD96 #96CCDD
square
#CA96DD #DDA796 #A9DD96 #96CCDD
split-complementary
#CA96DD #CCDD96 #96DDA7
monochromatic
#9A3DBC #B368CE #CA96DD #E1C4EC #F3E8F8

Accessibility & contrast

On white

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

On black

8.92
#CA96DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA96DD
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA96DD#FFFFFF#000000##000000
##CA96DD1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA6E0
Deuteranopia (green-blind)
#98ABDB
Tritanopia (blue-blind)
#CA9EB0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca96dd;
/* rgb */ color: rgb(202, 150, 221);
/* oklch */ color: oklch(74.7% 0.114 316.8);
Tailwind
colors: {
  custom: {
    50: '#dbb5e7',
    500: '#ca96dd',
    950: '#000000',
  },
}
SCSS
$custom: #ca96dd;
$custom-light: #dbb5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca96dd",
  "rgb": {
    "r": 202,
    "g": 150,
    "b": 221
  },
  "hsl": {
    "h": 283.944,
    "s": 51.079,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74693,
    "c": 0.1141,
    "h": 316.8
  },
  "luminance": 0.3959
}

Semantic roles & 50–950 ramp

primary
#CA96DD
secondary
#E1EFDC
accent
#BE2750
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA96DD

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

Preview Lab → · Contrast checker → · Palette generator →

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