#CA96FD#CA96FD

#CA96FD is a light, vivid violet. Relative luminance 0.415; OKLCH L 76.1% C 0.152 H 306.4°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#CA96FD
RGBrgb(202, 150, 253)
HSLhsl(270, 96%, 79%)
HSVhsv(270, 41%, 99%)
CMYKcmyk(20.2%, 40.7%, 0%, 0.8%)
CIE-LABlab(70.50, 38.68, -44.05)
CIE-LCHlch(70.50, 58.62, 311.29°)
OKLaboklab(76.13% 0.0901 -0.1224)
OKLCHoklch(76.13% 0.152 306.4)
XYZxyz(52.9896, 41.4615, 98.1208)
Luminance0.4146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA96FD #C9FD96
analogous
#9796FD #CA96FD #FD96FD
triadic
#CA96FD #FDCA96 #96FDCA
tetradic
#CA96FD #FD9796 #C9FD96 #96FDFD
square
#CA96FD #FD9796 #C9FD96 #96FDFD
split-complementary
#CA96FD #FDFD96 #96FD97
monochromatic
#8D1EFB #AC5AFC #CA96FD #E8D2FE #F0E1FE

Accessibility & contrast

On white

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

On black

9.29
#CA96FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA96FD
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA96FD#FFFFFF#000000##000000
##CA96FD1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca96fd;
/* rgb */ color: rgb(202, 150, 253);
/* oklch */ color: oklch(76.1% 0.152 306.4);
Tailwind
colors: {
  custom: {
    50: '#dcb5fe',
    500: '#ca96fd',
    950: '#000000',
  },
}
SCSS
$custom: #ca96fd;
$custom-light: #dcb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca96fd",
  "rgb": {
    "r": 202,
    "g": 150,
    "b": 253
  },
  "hsl": {
    "h": 270.291,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76128,
    "c": 0.15203,
    "h": 306.4
  },
  "luminance": 0.41461
}

Semantic roles & 50–950 ramp

primary
#CA96FD
secondary
#E5F7D4
accent
#E60072
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA96FD

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

Preview Lab → · Contrast checker → · Palette generator →

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