#CA96EB#CA96EB

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

Color values

HEX#CA96EB
RGBrgb(202, 150, 235)
HSLhsl(277, 68%, 75%)
HSVhsv(277, 36%, 92%)
CMYKcmyk(14%, 36.2%, 0%, 7.8%)
CIE-LABlab(69.73, 34.79, -35.42)
CIE-LCHlch(69.73, 49.64, 314.48°)
OKLaboklab(75.3% 0.0865 -0.0976)
OKLCHoklch(75.3% 0.13 311.5)
XYZxyz(50.2563, 40.3682, 83.7255)
Luminance0.4037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA96EB #B7EB96
analogous
#9F96EB #CA96EB #EB96E1
triadic
#CA96EB #EBCA96 #96EBCA
tetradic
#CA96EB #EB9F96 #B7EB96 #96E1EB
square
#CA96EB #EB9F96 #B7EB96 #96E1EB
split-complementary
#CA96EB #E1EB96 #96EB9F
monochromatic
#962FD7 #B063E1 #CA96EB #E4C9F5 #F2E5FA

Accessibility & contrast

On white

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

On black

9.07
#CA96EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA96EB
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA96EB#FFFFFF#000000##000000
##CA96EB1.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EE
Deuteranopia (green-blind)
#93ACE9
Tritanopia (blue-blind)
#C7A2B6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca96eb;
/* rgb */ color: rgb(202, 150, 235);
/* oklch */ color: oklch(75.3% 0.130 311.5);
Tailwind
colors: {
  custom: {
    50: '#dbb5f1',
    500: '#ca96eb',
    950: '#000000',
  },
}
SCSS
$custom: #ca96eb;
$custom-light: #dbb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca96eb",
  "rgb": {
    "r": 202,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 276.706,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75296,
    "c": 0.13044,
    "h": 311.5
  },
  "luminance": 0.40367
}

Semantic roles & 50–950 ramp

primary
#CA96EB
secondary
#E3F2D9
accent
#D0165E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA96EB

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

Preview Lab → · Contrast checker → · Palette generator →

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