#CA96EC#CA96EC

#CA96EC is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.3% C 0.132 H 311.2°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#CA96EC
RGBrgb(202, 150, 236)
HSLhsl(276, 69%, 76%)
HSVhsv(276, 36%, 93%)
CMYKcmyk(14.4%, 36.4%, 0%, 7.5%)
CIE-LABlab(69.77, 35.00, -35.90)
CIE-LCHlch(69.77, 50.14, 314.27°)
OKLaboklab(75.34% 0.0867 -0.099)
OKLCHoklch(75.34% 0.132 311.2)
XYZxyz(50.4011, 40.4261, 84.4885)
Luminance0.4042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA96EC #B8EC96
analogous
#9F96EC #CA96EC #EC96E3
triadic
#CA96EC #ECCA96 #96ECCA
tetradic
#CA96EC #EC9F96 #B8EC96 #96E3EC
square
#CA96EC #EC9F96 #B8EC96 #96E3EC
split-complementary
#CA96EC #E3EC96 #96EC9F
monochromatic
#962ED9 #B062E3 #CA96EC #E4CAF5 #F2E5FA

Accessibility & contrast

On white

2.31
#CA96EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#CA96EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA96EC
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA96EC#FFFFFF#000000##000000
##CA96EC1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A8EF
Deuteranopia (green-blind)
#92ACEA
Tritanopia (blue-blind)
#C7A2B6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca96ec;
/* rgb */ color: rgb(202, 150, 236);
/* oklch */ color: oklch(75.3% 0.132 311.2);
Tailwind
colors: {
  custom: {
    50: '#dbb5f2',
    500: '#ca96ec',
    950: '#000000',
  },
}
SCSS
$custom: #ca96ec;
$custom-light: #dbb5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca96ec",
  "rgb": {
    "r": 202,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 276.279,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75341,
    "c": 0.13162,
    "h": 311.2
  },
  "luminance": 0.40425
}

Semantic roles & 50–950 ramp

primary
#CA96EC
secondary
#E3F2D9
accent
#D1145F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA96EC

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

Preview Lab → · Contrast checker → · Palette generator →

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