#CA96F0#CA96F0

#CA96F0 is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.5% C 0.136 H 310.0°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#CA96F0
RGBrgb(202, 150, 240)
HSLhsl(275, 75%, 76%)
HSVhsv(275, 38%, 94%)
CMYKcmyk(15.8%, 37.5%, 0%, 5.9%)
CIE-LABlab(69.94, 35.85, -37.83)
CIE-LCHlch(69.94, 52.12, 313.46°)
OKLaboklab(75.52% 0.0876 -0.1045)
OKLCHoklch(75.52% 0.136 310)
XYZxyz(50.9888, 40.6612, 87.5835)
Luminance0.4066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA96F0 #BCF096
analogous
#9D96F0 #CA96F0 #F096E9
triadic
#CA96F0 #F0CA96 #96F0CA
tetradic
#CA96F0 #F09D96 #BCF096 #96E9F0
square
#CA96F0 #F09D96 #BCF096 #96E9F0
split-complementary
#CA96F0 #E9F096 #96F09D
monochromatic
#942BE1 #AF60E8 #CA96F0 #E5CCF8 #F1E4FB

Accessibility & contrast

On white

2.30
#CA96F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#CA96F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA96F0
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA96F0#FFFFFF#000000##000000
##CA96F01.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F3
Deuteranopia (green-blind)
#90ACED
Tritanopia (blue-blind)
#C6A3B8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca96f0;
/* rgb */ color: rgb(202, 150, 240);
/* oklch */ color: oklch(75.5% 0.136 310.0);
Tailwind
colors: {
  custom: {
    50: '#dbb5f5',
    500: '#ca96f0',
    950: '#000000',
  },
}
SCSS
$custom: #ca96f0;
$custom-light: #dbb5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca96f0",
  "rgb": {
    "r": 202,
    "g": 150,
    "b": 240
  },
  "hsl": {
    "h": 274.667,
    "s": 75,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75521,
    "c": 0.13639,
    "h": 310
  },
  "luminance": 0.40661
}

Semantic roles & 50–950 ramp

primary
#CA96F0
secondary
#E3F3D8
accent
#D70E63
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA96F0

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

Preview Lab → · Contrast checker → · Palette generator →

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