#CA5AF3#CA5AF3

#CA5AF3 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.0% C 0.232 H 315.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#CA5AF3
RGBrgb(202, 90, 243)
HSLhsl(284, 86%, 65%)
HSVhsv(284, 63%, 95%)
CMYKcmyk(16.9%, 63%, 0%, 4.7%)
CIE-LABlab(58.36, 66.82, -57.76)
CIE-LCHlch(58.36, 88.33, 319.16°)
OKLaboklab(66.99% 0.1666 -0.162)
OKLCHoklch(66.99% 0.232 315.8)
XYZxyz(44.1884, 26.3415, 87.5334)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5AF3 #83F35A
analogous
#7E5AF3 #CA5AF3 #F35ACF
triadic
#CA5AF3 #F3CA5A #5AF3CA
tetradic
#CA5AF3 #F37E5A #83F35A #5ACFF3
square
#CA5AF3 #F37E5A #83F35A #5ACFF3
split-complementary
#CA5AF3 #CFF35A #5AF37E
monochromatic
#940EC4 #B821EF #CA5AF3 #DC93F7 #EFCCFB

Accessibility & contrast

On white

3.35
#CA5AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#CA5AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5AF3
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5AF3#FFFFFF#000000##000000
##CA5AF31.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F86F8
Deuteranopia (green-blind)
#598FEF
Tritanopia (blue-blind)
#C7769F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5af3;
/* rgb */ color: rgb(202, 90, 243);
/* oklch */ color: oklch(67.0% 0.232 315.8);
Tailwind
colors: {
  custom: {
    50: '#de8ff8',
    500: '#ca5af3',
    950: '#000000',
  },
}
SCSS
$custom: #ca5af3;
$custom-light: #de8ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5af3",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 243
  },
  "hsl": {
    "h": 283.922,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66991,
    "c": 0.23238,
    "h": 315.8
  },
  "luminance": 0.2634
}

Semantic roles & 50–950 ramp

primary
#CA5AF3
secondary
#C8EEBB
accent
#E3033F
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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