#CA96EA#CA96EA

#CA96EA is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.3% C 0.129 H 311.9°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#CA96EA
RGBrgb(202, 150, 234)
HSLhsl(277, 67%, 75%)
HSVhsv(277, 36%, 92%)
CMYKcmyk(13.7%, 35.9%, 0%, 8.2%)
CIE-LABlab(69.69, 34.57, -34.93)
CIE-LCHlch(69.69, 49.15, 314.70°)
OKLaboklab(75.25% 0.0863 -0.0962)
OKLCHoklch(75.25% 0.129 311.9)
XYZxyz(50.1122, 40.3106, 82.9668)
Luminance0.4031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA96EA #B6EA96
analogous
#A096EA #CA96EA #EA96E0
triadic
#CA96EA #EACA96 #96EACA
tetradic
#CA96EA #EAA096 #B6EA96 #96E0EA
square
#CA96EA #EAA096 #B6EA96 #96E0EA
split-complementary
#CA96EA #E0EA96 #96EAA0
monochromatic
#9730D6 #B063E0 #CA96EA #E4C9F4 #F2E5FA

Accessibility & contrast

On white

2.32
#CA96EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#CA96EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA96EA
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA96EA#FFFFFF#000000##000000
##CA96EA1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8ED
Deuteranopia (green-blind)
#93ABE8
Tritanopia (blue-blind)
#C7A2B5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca96ea;
/* rgb */ color: rgb(202, 150, 234);
/* oklch */ color: oklch(75.3% 0.129 311.9);
Tailwind
colors: {
  custom: {
    50: '#dbb5f1',
    500: '#ca96ea',
    950: '#000000',
  },
}
SCSS
$custom: #ca96ea;
$custom-light: #dbb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca96ea",
  "rgb": {
    "r": 202,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 277.143,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75252,
    "c": 0.12925,
    "h": 311.9
  },
  "luminance": 0.4031
}

Semantic roles & 50–950 ramp

primary
#CA96EA
secondary
#E3F1DA
accent
#CF175D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA96EA

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

Preview Lab → · Contrast checker → · Palette generator →

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