#CA5AF1#CA5AF1

#CA5AF1 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.9% C 0.231 H 316.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#CA5AF1
RGBrgb(202, 90, 241)
HSLhsl(285, 84%, 65%)
HSVhsv(285, 63%, 95%)
CMYKcmyk(16.2%, 62.7%, 0%, 5.5%)
CIE-LABlab(58.25, 66.43, -56.83)
CIE-LCHlch(58.25, 87.42, 319.46°)
OKLaboklab(66.87% 0.1666 -0.1593)
OKLCHoklch(66.87% 0.231 316.3)
XYZxyz(43.8881, 26.2214, 85.9514)
Luminance0.2622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5AF1 #81F15A
analogous
#7E5AF1 #CA5AF1 #F15ACD
triadic
#CA5AF1 #F1CA5A #5AF1CA
tetradic
#CA5AF1 #F17E5A #81F15A #5ACDF1
square
#CA5AF1 #F17E5A #81F15A #5ACDF1
split-complementary
#CA5AF1 #CDF15A #5AF17E
monochromatic
#9310C0 #B822EC #CA5AF1 #DC92F6 #EECBFB

Accessibility & contrast

On white

3.36
#CA5AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#CA5AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5AF1
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5AF1#FFFFFF#000000##000000
##CA5AF11.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2485F6
Deuteranopia (green-blind)
#5B8FED
Tritanopia (blue-blind)
#C8759E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5af1;
/* rgb */ color: rgb(202, 90, 241);
/* oklch */ color: oklch(66.9% 0.231 316.3);
Tailwind
colors: {
  custom: {
    50: '#de8ff6',
    500: '#ca5af1',
    950: '#000000',
  },
}
SCSS
$custom: #ca5af1;
$custom-light: #de8ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5af1",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 241
  },
  "hsl": {
    "h": 284.503,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66873,
    "c": 0.2305,
    "h": 316.3
  },
  "luminance": 0.2622
}

Semantic roles & 50–950 ramp

primary
#CA5AF1
secondary
#C7EDBA
accent
#E1053E
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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