#CA5BE5#CA5BE5

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

Color values

HEX#CA5BE5
RGBrgb(202, 91, 229)
HSLhsl(288, 73%, 63%)
HSVhsv(288, 60%, 90%)
CMYKcmyk(11.8%, 60.3%, 0%, 10.2%)
CIE-LABlab(57.75, 63.68, -50.92)
CIE-LCHlch(57.75, 81.53, 321.35°)
OKLaboklab(66.3% 0.1654 -0.1421)
OKLCHoklch(66.3% 0.218 319.3)
XYZxyz(42.2392, 25.6977, 76.8488)
Luminance0.2570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BE5 #76E55B
analogous
#855BE5 #CA5BE5 #E55BBB
triadic
#CA5BE5 #E5CA5B #5BE5CA
tetradic
#CA5BE5 #E5855B #76E55B #5BBBE5
square
#CA5BE5 #E5855B #76E55B #5BBBE5
split-complementary
#CA5BE5 #BBE55B #5BE585
monochromatic
#8E1BAB #B926DD #CA5BE5 #DB90ED #ECC5F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA5BE5#FFFFFF#000000##000000
##CA5BE51.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)
#3883E9
Deuteranopia (green-blind)
#648FE1
Tritanopia (blue-blind)
#CA7298
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ca5be5;
/* rgb */ color: rgb(202, 91, 229);
/* oklch */ color: oklch(66.3% 0.218 319.3);
Tailwind
colors: {
  custom: {
    50: '#dd8fee',
    500: '#ca5be5',
    950: '#000000',
  },
}
SCSS
$custom: #ca5be5;
$custom-light: #dd8fee;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5be5",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 288.261,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.663,
    "c": 0.21799,
    "h": 319.3
  },
  "luminance": 0.25696
}

Semantic roles & 50–950 ramp

primary
#CA5BE5
secondary
#BFE7B5
accent
#D51137
background
#FDF9FE
surface
#FBF1FD
border
#D4CBD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CA5BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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