#CA96FE#CA96FE

#CA96FE is a light, vivid violet. Relative luminance 0.415; OKLCH L 76.2% C 0.153 H 306.1°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#CA96FE
RGBrgb(202, 150, 254)
HSLhsl(270, 98%, 79%)
HSVhsv(270, 41%, 100%)
CMYKcmyk(20.5%, 40.9%, 0%, 0.4%)
CIE-LABlab(70.54, 38.90, -44.52)
CIE-LCHlch(70.54, 59.12, 311.15°)
OKLaboklab(76.18% 0.0903 -0.1238)
OKLCHoklch(76.18% 0.153 306.1)
XYZxyz(53.1493, 41.5254, 98.9619)
Luminance0.4153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA96FE #CAFE96
analogous
#9696FE #CA96FE #FE96FE
triadic
#CA96FE #FECA96 #96FECA
tetradic
#CA96FE #FE9696 #CAFE96 #96FEFE
square
#CA96FE #FE9696 #CAFE96 #96FEFE
split-complementary
#CA96FE #FEFE96 #96FE96
monochromatic
#8D1DFD #AB59FD #CA96FE #E9D3FF #F0E1FF

Accessibility & contrast

On white

2.26
#CA96FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#CA96FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA96FE
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA96FE#FFFFFF#000000##000000
##CA96FE1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#8AADFB
Tritanopia (blue-blind)
#C2A6BE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ca96fe;
/* rgb */ color: rgb(202, 150, 254);
/* oklch */ color: oklch(76.2% 0.153 306.1);
Tailwind
colors: {
  custom: {
    50: '#dcb5ff',
    500: '#ca96fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca96fe;
$custom-light: #dcb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca96fe",
  "rgb": {
    "r": 202,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 270,
    "s": 98.113,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76176,
    "c": 0.15325,
    "h": 306.1
  },
  "luminance": 0.41525
}

Semantic roles & 50–950 ramp

primary
#CA96FE
secondary
#E6F7D4
accent
#E60073
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA96FE

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

Preview Lab → · Contrast checker → · Palette generator →

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