#CA5FE9#CA5FE9

#CA5FE9 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.0% C 0.216 H 318.0°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#CA5FE9
RGBrgb(202, 95, 233)
HSLhsl(287, 76%, 64%)
HSVhsv(287, 59%, 91%)
CMYKcmyk(13.3%, 59.2%, 0%, 8.6%)
CIE-LABlab(58.63, 62.63, -51.76)
CIE-LCHlch(58.63, 81.25, 320.43°)
OKLaboklab(67.01% 0.1607 -0.1445)
OKLCHoklch(67.01% 0.216 318)
XYZxyz(43.1553, 26.6259, 79.9411)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FE9 #7EE95F
analogous
#855FE9 #CA5FE9 #E95FC3
triadic
#CA5FE9 #E9CA5F #5FE9CA
tetradic
#CA5FE9 #E9855F #7EE95F #5FC3E9
square
#CA5FE9 #E9855F #7EE95F #5FC3E9
split-complementary
#CA5FE9 #C3E95F #5FE985
monochromatic
#9219B5 #B829E2 #CA5FE9 #DC95F0 #EECBF8

Accessibility & contrast

On white

3.32
#CA5FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#CA5FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FE9
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FE9#FFFFFF#000000##000000
##CA5FE91.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B86ED
Deuteranopia (green-blind)
#6590E6
Tritanopia (blue-blind)
#C9769B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5fe9;
/* rgb */ color: rgb(202, 95, 233);
/* oklch */ color: oklch(67.0% 0.216 318.0);
Tailwind
colors: {
  custom: {
    50: '#dd92f0',
    500: '#ca5fe9',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fe9;
$custom-light: #dd92f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fe9",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 286.522,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67007,
    "c": 0.21611,
    "h": 318
  },
  "luminance": 0.26624
}

Semantic roles & 50–950 ramp

primary
#CA5FE9
secondary
#C5EABA
accent
#D80D3B
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #CA5FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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