#CA5AE8#CA5AE8

#CA5AE8 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.4% C 0.222 H 318.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#CA5AE8
RGBrgb(202, 90, 232)
HSLhsl(287, 76%, 63%)
HSVhsv(287, 61%, 91%)
CMYKcmyk(12.9%, 61.2%, 0%, 9%)
CIE-LABlab(57.75, 64.69, -52.60)
CIE-LCHlch(57.75, 83.38, 320.89°)
OKLaboklab(66.35% 0.1666 -0.147)
OKLCHoklch(66.35% 0.222 318.6)
XYZxyz(42.5768, 25.6969, 79.0455)
Luminance0.2570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5AE8 #78E85A
analogous
#835AE8 #CA5AE8 #E85ABF
triadic
#CA5AE8 #E8CA5A #5AE8CA
tetradic
#CA5AE8 #E8835A #78E85A #5ABFE8
square
#CA5AE8 #E8835A #78E85A #5ABFE8
split-complementary
#CA5AE8 #BFE85A #5AE883
monochromatic
#8F18AF #B924E1 #CA5AE8 #DB90EF #EDC5F7

Accessibility & contrast

On white

3.42
#CA5AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#CA5AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5AE8
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5AE8#FFFFFF#000000##000000
##CA5AE81.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3283EC
Deuteranopia (green-blind)
#628EE4
Tritanopia (blue-blind)
#CA7299
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ca5ae8;
/* rgb */ color: rgb(202, 90, 232);
/* oklch */ color: oklch(66.4% 0.222 318.6);
Tailwind
colors: {
  custom: {
    50: '#dd8ff0',
    500: '#ca5ae8',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ae8;
$custom-light: #dd8ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ae8",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 287.324,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66351,
    "c": 0.22215,
    "h": 318.6
  },
  "luminance": 0.25695
}

Semantic roles & 50–950 ramp

primary
#CA5AE8
secondary
#C0E8B5
accent
#D80E38
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D17
muted
#847E85

Preview Lab

Preview with #CA5AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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