#CA5AEC#CA5AEC

#CA5AEC is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.6% C 0.226 H 317.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#CA5AEC
RGBrgb(202, 90, 236)
HSLhsl(286, 79%, 64%)
HSVhsv(286, 62%, 93%)
CMYKcmyk(14.4%, 61.9%, 0%, 7.5%)
CIE-LABlab(57.97, 65.46, -54.49)
CIE-LCHlch(57.97, 85.17, 320.23°)
OKLaboklab(66.58% 0.1666 -0.1525)
OKLCHoklch(66.58% 0.226 317.5)
XYZxyz(43.1515, 25.9267, 82.0720)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5AEC #7CEC5A
analogous
#815AEC #CA5AEC #EC5AC5
triadic
#CA5AEC #ECCA5A #5AECCA
tetradic
#CA5AEC #EC815A #7CEC5A #5AC5EC
square
#CA5AEC #EC815A #7CEC5A #5AC5EC
split-complementary
#CA5AEC #C5EC5A #5AEC81
monochromatic
#9115B7 #B823E6 #CA5AEC #DC91F2 #EDC8F9

Accessibility & contrast

On white

3.40
#CA5AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#CA5AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5AEC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5AEC#FFFFFF#000000##000000
##CA5AEC1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84F0
Deuteranopia (green-blind)
#5F8FE8
Tritanopia (blue-blind)
#C9739B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ca5aec;
/* rgb */ color: rgb(202, 90, 236);
/* oklch */ color: oklch(66.6% 0.226 317.5);
Tailwind
colors: {
  custom: {
    50: '#de8ff3',
    500: '#ca5aec',
    950: '#000000',
  },
}
SCSS
$custom: #ca5aec;
$custom-light: #de8ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5aec",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 286.027,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66581,
    "c": 0.22585,
    "h": 317.5
  },
  "luminance": 0.25925
}

Semantic roles & 50–950 ramp

primary
#CA5AEC
secondary
#C3EBB7
accent
#DC0A3B
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D17
muted
#847E85

Preview Lab

Preview with #CA5AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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