#CA96F9#CA96F9

#CA96F9 is a light, vivid violet. Relative luminance 0.412; OKLCH L 75.9% C 0.147 H 307.4°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#CA96F9
RGBrgb(202, 150, 249)
HSLhsl(272, 89%, 78%)
HSVhsv(272, 40%, 98%)
CMYKcmyk(18.9%, 39.8%, 0%, 2.4%)
CIE-LABlab(70.32, 37.80, -42.14)
CIE-LCHlch(70.32, 56.61, 311.89°)
OKLaboklab(75.94% 0.0894 -0.1169)
OKLCHoklch(75.94% 0.147 307.4)
XYZxyz(52.3590, 41.2093, 94.8000)
Luminance0.4121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA96F9 #C5F996
analogous
#9896F9 #CA96F9 #F996F7
triadic
#CA96F9 #F9CA96 #96F9CA
tetradic
#CA96F9 #F99896 #C5F996 #96F7F9
square
#CA96F9 #F99896 #C5F996 #96F7F9
split-complementary
#CA96F9 #F7F996 #96F998
monochromatic
#9022F2 #AD5CF6 #CA96F9 #E7D0FC #F0E2FD

Accessibility & contrast

On white

2.27
#CA96F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#CA96F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA96F9
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA96F9#FFFFFF#000000##000000
##CA96F91.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFD
Deuteranopia (green-blind)
#8CADF6
Tritanopia (blue-blind)
#C3A5BC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca96f9;
/* rgb */ color: rgb(202, 150, 249);
/* oklch */ color: oklch(75.9% 0.147 307.4);
Tailwind
colors: {
  custom: {
    50: '#dbb5fb',
    500: '#ca96f9',
    950: '#000000',
  },
}
SCSS
$custom: #ca96f9;
$custom-light: #dbb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca96f9",
  "rgb": {
    "r": 202,
    "g": 150,
    "b": 249
  },
  "hsl": {
    "h": 271.515,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75938,
    "c": 0.1472,
    "h": 307.4
  },
  "luminance": 0.41209
}

Semantic roles & 50–950 ramp

primary
#CA96F9
secondary
#E5F5D6
accent
#E6006D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA96F9

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

Preview Lab → · Contrast checker → · Palette generator →

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