#CA5AEE#CA5AEE

#CA5AEE is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.7% C 0.228 H 317.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#CA5AEE
RGBrgb(202, 90, 238)
HSLhsl(285, 81%, 64%)
HSVhsv(285, 62%, 93%)
CMYKcmyk(15.1%, 62.2%, 0%, 6.7%)
CIE-LABlab(58.08, 65.85, -55.42)
CIE-LCHlch(58.08, 86.07, 319.91°)
OKLaboklab(66.7% 0.1666 -0.1552)
OKLCHoklch(66.7% 0.228 317)
XYZxyz(43.4436, 26.0436, 83.6108)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5AEE #7EEE5A
analogous
#805AEE #CA5AEE #EE5AC8
triadic
#CA5AEE #EECA5A #5AEECA
tetradic
#CA5AEE #EE805A #7EEE5A #5AC8EE
square
#CA5AEE #EE805A #7EEE5A #5AC8EE
split-complementary
#CA5AEE #C8EE5A #5AEE80
monochromatic
#9213BA #B823E8 #CA5AEE #DC91F4 #EEC9F9

Accessibility & contrast

On white

3.38
#CA5AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#CA5AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5AEE
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5AEE#FFFFFF#000000##000000
##CA5AEE1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2985F3
Deuteranopia (green-blind)
#5D8FEA
Tritanopia (blue-blind)
#C9749C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5aee;
/* rgb */ color: rgb(202, 90, 238);
/* oklch */ color: oklch(66.7% 0.228 317.0);
Tailwind
colors: {
  custom: {
    50: '#de8ff4',
    500: '#ca5aee',
    950: '#000000',
  },
}
SCSS
$custom: #ca5aee;
$custom-light: #de8ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5aee",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 285.405,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66697,
    "c": 0.22771,
    "h": 317
  },
  "luminance": 0.26042
}

Semantic roles & 50–950 ramp

primary
#CA5AEE
secondary
#C5ECB8
accent
#DE083C
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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