#CA5AF2#CA5AF2

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

Color values

HEX#CA5AF2
RGBrgb(202, 90, 242)
HSLhsl(284, 85%, 65%)
HSVhsv(284, 63%, 95%)
CMYKcmyk(16.5%, 62.8%, 0%, 5.1%)
CIE-LABlab(58.30, 66.63, -57.29)
CIE-LCHlch(58.30, 87.87, 319.31°)
OKLaboklab(66.93% 0.1666 -0.1607)
OKLCHoklch(66.93% 0.231 316)
XYZxyz(44.0378, 26.2813, 86.7402)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5AF2 #82F25A
analogous
#7E5AF2 #CA5AF2 #F25ACE
triadic
#CA5AF2 #F2CA5A #5AF2CA
tetradic
#CA5AF2 #F27E5A #82F25A #5ACEF2
square
#CA5AF2 #F27E5A #82F25A #5ACEF2
split-complementary
#CA5AF2 #CEF25A #5AF27E
monochromatic
#930FC2 #B821EE #CA5AF2 #DC93F6 #EECBFB

Accessibility & contrast

On white

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

On black

6.26
#CA5AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5AF2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5AF2#FFFFFF#000000##000000
##CA5AF21.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2285F7
Deuteranopia (green-blind)
#5A8FEE
Tritanopia (blue-blind)
#C8769E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5af2;
/* rgb */ color: rgb(202, 90, 242);
/* oklch */ color: oklch(66.9% 0.231 316.0);
Tailwind
colors: {
  custom: {
    50: '#de8ff7',
    500: '#ca5af2',
    950: '#000000',
  },
}
SCSS
$custom: #ca5af2;
$custom-light: #de8ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5af2",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 284.211,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66932,
    "c": 0.23144,
    "h": 316
  },
  "luminance": 0.2628
}

Semantic roles & 50–950 ramp

primary
#CA5AF2
secondary
#C8EEBA
accent
#E2043E
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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