#CA96E2#CA96E2

#CA96E2 is a light, moderate purple. Relative luminance 0.399; OKLCH L 74.9% C 0.120 H 314.8°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#CA96E2
RGBrgb(202, 150, 226)
HSLhsl(281, 57%, 74%)
HSVhsv(281, 34%, 89%)
CMYKcmyk(10.6%, 33.6%, 0%, 11.4%)
CIE-LABlab(69.37, 32.91, -31.03)
CIE-LCHlch(69.37, 45.24, 316.68°)
OKLaboklab(74.9% 0.0844 -0.0851)
OKLCHoklch(74.9% 0.12 314.8)
XYZxyz(48.9888, 39.8612, 77.0501)
Luminance0.3986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA96E2 #AEE296
analogous
#A496E2 #CA96E2 #E296D4
triadic
#CA96E2 #E2CA96 #96E2CA
tetradic
#CA96E2 #E2A496 #AEE296 #96D4E2
square
#CA96E2 #E2A496 #AEE296 #96D4E2
split-complementary
#CA96E2 #D4E296 #96E2A4
monochromatic
#9937C7 #B266D5 #CA96E2 #E2C6EF #F3E7F8

Accessibility & contrast

On white

2.34
#CA96E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#CA96E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA96E2
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA96E2#FFFFFF#000000##000000
##CA96E21.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA6E5
Deuteranopia (green-blind)
#96ABE0
Tritanopia (blue-blind)
#C9A0B2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca96e2;
/* rgb */ color: rgb(202, 150, 226);
/* oklch */ color: oklch(74.9% 0.120 314.8);
Tailwind
colors: {
  custom: {
    50: '#dbb5eb',
    500: '#ca96e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca96e2;
$custom-light: #dbb5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca96e2",
  "rgb": {
    "r": 202,
    "g": 150,
    "b": 226
  },
  "hsl": {
    "h": 281.053,
    "s": 56.716,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74904,
    "c": 0.11987,
    "h": 314.8
  },
  "luminance": 0.3986
}

Semantic roles & 50–950 ramp

primary
#CA96E2
secondary
#E2F0DB
accent
#C42155
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA96E2

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

Preview Lab → · Contrast checker → · Palette generator →

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