#CA96F3#CA96F3

#CA96F3 is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.7% C 0.140 H 309.1°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#CA96F3
RGBrgb(202, 150, 243)
HSLhsl(274, 79%, 77%)
HSVhsv(274, 38%, 95%)
CMYKcmyk(16.9%, 38.3%, 0%, 4.7%)
CIE-LABlab(70.06, 36.49, -39.28)
CIE-LCHlch(70.06, 53.61, 312.90°)
OKLaboklab(75.66% 0.0882 -0.1087)
OKLCHoklch(75.66% 0.14 309.1)
XYZxyz(51.4381, 40.8409, 89.9499)
Luminance0.4084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA96F3 #BFF396
analogous
#9C96F3 #CA96F3 #F396EE
triadic
#CA96F3 #F3CA96 #96F3CA
tetradic
#CA96F3 #F39C96 #BFF396 #96EEF3
square
#CA96F3 #F39C96 #BFF396 #96EEF3
split-complementary
#CA96F3 #EEF396 #96F39C
monochromatic
#9328E6 #AE5FED #CA96F3 #E6CDF9 #F1E4FC

Accessibility & contrast

On white

2.29
#CA96F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#CA96F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA96F3
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA96F3#FFFFFF#000000##000000
##CA96F31.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A9F7
Deuteranopia (green-blind)
#8FACF0
Tritanopia (blue-blind)
#C5A4B9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca96f3;
/* rgb */ color: rgb(202, 150, 243);
/* oklch */ color: oklch(75.7% 0.140 309.1);
Tailwind
colors: {
  custom: {
    50: '#dbb5f7',
    500: '#ca96f3',
    950: '#000000',
  },
}
SCSS
$custom: #ca96f3;
$custom-light: #dbb5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca96f3",
  "rgb": {
    "r": 202,
    "g": 150,
    "b": 243
  },
  "hsl": {
    "h": 273.548,
    "s": 79.487,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75658,
    "c": 0.13998,
    "h": 309.1
  },
  "luminance": 0.4084
}

Semantic roles & 50–950 ramp

primary
#CA96F3
secondary
#E4F4D7
accent
#DC0A66
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA96F3

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

Preview Lab → · Contrast checker → · Palette generator →

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