#CA5AEB#CA5AEB

#CA5AEB is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.5% C 0.225 H 317.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#CA5AEB
RGBrgb(202, 90, 235)
HSLhsl(286, 78%, 64%)
HSVhsv(286, 62%, 92%)
CMYKcmyk(14%, 61.7%, 0%, 7.8%)
CIE-LABlab(57.91, 65.27, -54.01)
CIE-LCHlch(57.91, 84.72, 320.39°)
OKLaboklab(66.52% 0.1666 -0.1511)
OKLCHoklch(66.52% 0.225 317.8)
XYZxyz(43.0066, 25.8688, 81.3089)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5AEB #7BEB5A
analogous
#815AEB #CA5AEB #EB5AC3
triadic
#CA5AEB #EBCA5A #5AEBCA
tetradic
#CA5AEB #EB815A #7BEB5A #5AC3EB
square
#CA5AEB #EB815A #7BEB5A #5AC3EB
split-complementary
#CA5AEB #C3EB5A #5AEB81
monochromatic
#9116B5 #B823E4 #CA5AEB #DC91F2 #EDC7F8

Accessibility & contrast

On white

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

On black

6.17
#CA5AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5AEB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5AEB#FFFFFF#000000##000000
##CA5AEB1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca5aeb;
/* rgb */ color: rgb(202, 90, 235);
/* oklch */ color: oklch(66.5% 0.225 317.8);
Tailwind
colors: {
  custom: {
    50: '#dd8ff2',
    500: '#ca5aeb',
    950: '#000000',
  },
}
SCSS
$custom: #ca5aeb;
$custom-light: #dd8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5aeb",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 286.345,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66523,
    "c": 0.22492,
    "h": 317.8
  },
  "luminance": 0.25867
}

Semantic roles & 50–950 ramp

primary
#CA5AEB
secondary
#C2EAB7
accent
#DB0B3A
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D17
muted
#847E85

Preview Lab

Preview with #CA5AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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