#CA5AEA#CA5AEA

#CA5AEA is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.5% C 0.224 H 318.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#CA5AEA
RGBrgb(202, 90, 234)
HSLhsl(287, 77%, 64%)
HSVhsv(287, 62%, 92%)
CMYKcmyk(13.7%, 61.5%, 0%, 8.2%)
CIE-LABlab(57.86, 65.08, -53.54)
CIE-LCHlch(57.86, 84.27, 320.55°)
OKLaboklab(66.47% 0.1666 -0.1497)
OKLCHoklch(66.47% 0.224 318.1)
XYZxyz(42.8625, 25.8112, 80.5502)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5AEA #7AEA5A
analogous
#825AEA #CA5AEA #EA5AC2
triadic
#CA5AEA #EACA5A #5AEACA
tetradic
#CA5AEA #EA825A #7AEA5A #5AC2EA
square
#CA5AEA #EA825A #7AEA5A #5AC2EA
split-complementary
#CA5AEA #C2EA5A #5AEA82
monochromatic
#9017B3 #B924E3 #CA5AEA #DB90F1 #EDC7F8

Accessibility & contrast

On white

3.41
#CA5AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#CA5AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5AEA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5AEA#FFFFFF#000000##000000
##CA5AEA1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EE
Deuteranopia (green-blind)
#608FE6
Tritanopia (blue-blind)
#C9739A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ca5aea;
/* rgb */ color: rgb(202, 90, 234);
/* oklch */ color: oklch(66.5% 0.224 318.1);
Tailwind
colors: {
  custom: {
    50: '#dd8ff1',
    500: '#ca5aea',
    950: '#000000',
  },
}
SCSS
$custom: #ca5aea;
$custom-light: #dd8ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5aea",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 286.667,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66466,
    "c": 0.22399,
    "h": 318.1
  },
  "luminance": 0.25809
}

Semantic roles & 50–950 ramp

primary
#CA5AEA
secondary
#C2E9B6
accent
#DA0C3A
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D17
muted
#847E85

Preview Lab

Preview with #CA5AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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