#CA96ED#CA96ED

#CA96ED is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.4% C 0.133 H 310.9°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#CA96ED
RGBrgb(202, 150, 237)
HSLhsl(276, 71%, 76%)
HSVhsv(276, 37%, 93%)
CMYKcmyk(14.8%, 36.7%, 0%, 7.1%)
CIE-LABlab(69.81, 35.21, -36.39)
CIE-LCHlch(69.81, 50.63, 314.06°)
OKLaboklab(75.39% 0.087 -0.1004)
OKLCHoklch(75.39% 0.133 310.9)
XYZxyz(50.5468, 40.4844, 85.2558)
Luminance0.4048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA96ED #B9ED96
analogous
#9E96ED #CA96ED #ED96E4
triadic
#CA96ED #EDCA96 #96EDCA
tetradic
#CA96ED #ED9E96 #B9ED96 #96E4ED
square
#CA96ED #ED9E96 #B9ED96 #96E4ED
split-complementary
#CA96ED #E4ED96 #96ED9E
monochromatic
#952EDB #B062E4 #CA96ED #E4CAF6 #F2E5FB

Accessibility & contrast

On white

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

On black

9.10
#CA96ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA96ED
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA96ED#FFFFFF#000000##000000
##CA96ED1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A8F0
Deuteranopia (green-blind)
#92ACEA
Tritanopia (blue-blind)
#C6A2B7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca96ed;
/* rgb */ color: rgb(202, 150, 237);
/* oklch */ color: oklch(75.4% 0.133 310.9);
Tailwind
colors: {
  custom: {
    50: '#dbb5f3',
    500: '#ca96ed',
    950: '#000000',
  },
}
SCSS
$custom: #ca96ed;
$custom-light: #dbb5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca96ed",
  "rgb": {
    "r": 202,
    "g": 150,
    "b": 237
  },
  "hsl": {
    "h": 275.862,
    "s": 70.732,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75386,
    "c": 0.13282,
    "h": 310.9
  },
  "luminance": 0.40484
}

Semantic roles & 50–950 ramp

primary
#CA96ED
secondary
#E3F2D9
accent
#D31360
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA96ED

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

Preview Lab → · Contrast checker → · Palette generator →

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