#CA5BEA#CA5BEA

#CA5BEA is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.6% C 0.223 H 318.0°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#CA5BEA
RGBrgb(202, 91, 234)
HSLhsl(287, 77%, 64%)
HSVhsv(287, 61%, 92%)
CMYKcmyk(13.7%, 61.1%, 0%, 8.2%)
CIE-LABlab(58.02, 64.63, -53.29)
CIE-LCHlch(58.02, 83.77, 320.50°)
OKLaboklab(66.58% 0.1654 -0.149)
OKLCHoklch(66.58% 0.223 318)
XYZxyz(42.9474, 25.9810, 80.5785)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BEA #7BEA5B
analogous
#825BEA #CA5BEA #EA5BC3
triadic
#CA5BEA #EACA5B #5BEACA
tetradic
#CA5BEA #EA825B #7BEA5B #5BC3EA
square
#CA5BEA #EA825B #7BEA5B #5BC3EA
split-complementary
#CA5BEA #C3EA5B #5BEA82
monochromatic
#9117B4 #B825E3 #CA5BEA #DC91F1 #EDC8F8

Accessibility & contrast

On white

3.39
#CA5BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#CA5BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BEA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BEA#FFFFFF#000000##000000
##CA5BEA1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca5bea;
/* rgb */ color: rgb(202, 91, 234);
/* oklch */ color: oklch(66.6% 0.223 318.0);
Tailwind
colors: {
  custom: {
    50: '#dd90f1',
    500: '#ca5bea',
    950: '#000000',
  },
}
SCSS
$custom: #ca5bea;
$custom-light: #dd90f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5bea",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 286.573,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66583,
    "c": 0.22263,
    "h": 318
  },
  "luminance": 0.25979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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