#CA5AF6#CA5AF6

#CA5AF6 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.2% C 0.235 H 315.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#CA5AF6
RGBrgb(202, 90, 246)
HSLhsl(283, 90%, 66%)
HSVhsv(283, 63%, 96%)
CMYKcmyk(17.9%, 63.4%, 0%, 3.5%)
CIE-LABlab(58.53, 67.42, -59.15)
CIE-LCHlch(58.53, 89.69, 318.74°)
OKLaboklab(67.17% 0.1665 -0.1661)
OKLCHoklch(67.17% 0.235 315.1)
XYZxyz(44.6452, 26.5242, 89.9388)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5AF6 #86F65A
analogous
#7C5AF6 #CA5AF6 #F65AD4
triadic
#CA5AF6 #F6CA5A #5AF6CA
tetradic
#CA5AF6 #F67C5A #86F65A #5AD4F6
square
#CA5AF6 #F67C5A #86F65A #5AD4F6
split-complementary
#CA5AF6 #D4F65A #5AF67C
monochromatic
#950BCB #B720F3 #CA5AF6 #DD94F9 #EFCEFC

Accessibility & contrast

On white

3.33
#CA5AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#CA5AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5AF6
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5AF6#FFFFFF#000000##000000
##CA5AF61.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1786FB
Deuteranopia (green-blind)
#5790F2
Tritanopia (blue-blind)
#C777A0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5af6;
/* rgb */ color: rgb(202, 90, 246);
/* oklch */ color: oklch(67.2% 0.235 315.1);
Tailwind
colors: {
  custom: {
    50: '#de8ffa',
    500: '#ca5af6',
    950: '#000000',
  },
}
SCSS
$custom: #ca5af6;
$custom-light: #de8ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5af6",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 246
  },
  "hsl": {
    "h": 283.077,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6717,
    "c": 0.23518,
    "h": 315.1
  },
  "luminance": 0.26523
}

Semantic roles & 50–950 ramp

primary
#CA5AF6
secondary
#CBF0BC
accent
#E60041
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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