#CA96DF#CA96DF

#CA96DF is a light, moderate purple. Relative luminance 0.397; OKLCH L 74.8% C 0.116 H 316.0°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#CA96DF
RGBrgb(202, 150, 223)
HSLhsl(283, 53%, 73%)
HSVhsv(283, 33%, 87%)
CMYKcmyk(9.4%, 32.7%, 0%, 12.5%)
CIE-LABlab(69.25, 32.30, -29.56)
CIE-LCHlch(69.25, 43.78, 317.53°)
OKLaboklab(74.78% 0.0837 -0.0809)
OKLCHoklch(74.78% 0.116 316)
XYZxyz(48.5807, 39.6980, 74.9010)
Luminance0.3970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA96DF #ABDF96
analogous
#A596DF #CA96DF #DF96CF
triadic
#CA96DF #DFCA96 #96DFCA
tetradic
#CA96DF #DFA596 #ABDF96 #96CFDF
square
#CA96DF #DFA596 #ABDF96 #96CFDF
split-complementary
#CA96DF #CFDF96 #96DFA5
monochromatic
#9A3BC0 #B267D1 #CA96DF #E2C5ED #F3E8F8

Accessibility & contrast

On white

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

On black

8.94
#CA96DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA96DF
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA96DF#FFFFFF#000000##000000
##CA96DF1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA6E2
Deuteranopia (green-blind)
#97ABDD
Tritanopia (blue-blind)
#C99FB1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca96df;
/* rgb */ color: rgb(202, 150, 223);
/* oklch */ color: oklch(74.8% 0.116 316.0);
Tailwind
colors: {
  custom: {
    50: '#dbb5e9',
    500: '#ca96df',
    950: '#000000',
  },
}
SCSS
$custom: #ca96df;
$custom-light: #dbb5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca96df",
  "rgb": {
    "r": 202,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 282.74,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74777,
    "c": 0.1164,
    "h": 316
  },
  "luminance": 0.39697
}

Semantic roles & 50–950 ramp

primary
#CA96DF
secondary
#E1EFDC
accent
#C12552
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA96DF

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

Preview Lab → · Contrast checker → · Palette generator →

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