#CA96EF#CA96EF

#CA96EF is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.5% C 0.135 H 310.3°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#CA96EF
RGBrgb(202, 150, 239)
HSLhsl(275, 74%, 76%)
HSVhsv(275, 37%, 94%)
CMYKcmyk(15.5%, 37.2%, 0%, 6.3%)
CIE-LABlab(69.90, 35.64, -37.35)
CIE-LCHlch(69.90, 51.62, 313.65°)
OKLaboklab(75.48% 0.0874 -0.1032)
OKLCHoklch(75.48% 0.135 310.3)
XYZxyz(50.8407, 40.6019, 86.8033)
Luminance0.4060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA96EF #BBEF96
analogous
#9E96EF #CA96EF #EF96E8
triadic
#CA96EF #EFCA96 #96EFCA
tetradic
#CA96EF #EF9E96 #BBEF96 #96E8EF
square
#CA96EF #EF9E96 #BBEF96 #96E8EF
split-complementary
#CA96EF #E8EF96 #96EF9E
monochromatic
#942CDF #AF61E7 #CA96EF #E5CBF7 #F2E4FB

Accessibility & contrast

On white

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

On black

9.12
#CA96EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA96EF
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA96EF#FFFFFF#000000##000000
##CA96EF1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A8F2
Deuteranopia (green-blind)
#91ACEC
Tritanopia (blue-blind)
#C6A3B7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca96ef;
/* rgb */ color: rgb(202, 150, 239);
/* oklch */ color: oklch(75.5% 0.135 310.3);
Tailwind
colors: {
  custom: {
    50: '#dbb5f4',
    500: '#ca96ef',
    950: '#000000',
  },
}
SCSS
$custom: #ca96ef;
$custom-light: #dbb5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca96ef",
  "rgb": {
    "r": 202,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 275.056,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75476,
    "c": 0.1352,
    "h": 310.3
  },
  "luminance": 0.40601
}

Semantic roles & 50–950 ramp

primary
#CA96EF
secondary
#E3F3D8
accent
#D61062
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA96EF

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

Preview Lab → · Contrast checker → · Palette generator →

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