#CA5BEE#CA5BEE

#CA5BEE is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.8% C 0.226 H 317.0°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#CA5BEE
RGBrgb(202, 91, 238)
HSLhsl(285, 81%, 65%)
HSVhsv(285, 62%, 93%)
CMYKcmyk(15.1%, 61.8%, 0%, 6.7%)
CIE-LABlab(58.24, 65.41, -55.17)
CIE-LCHlch(58.24, 85.57, 319.85°)
OKLaboklab(66.81% 0.1655 -0.1545)
OKLCHoklch(66.81% 0.226 317)
XYZxyz(43.5286, 26.2134, 83.6391)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BEE #7FEE5B
analogous
#815BEE #CA5BEE #EE5BC9
triadic
#CA5BEE #EECA5B #5BEECA
tetradic
#CA5BEE #EE815B #7FEE5B #5BC9EE
square
#CA5BEE #EE815B #7FEE5B #5BC9EE
split-complementary
#CA5BEE #C9EE5B #5BEE81
monochromatic
#9213BB #B824E8 #CA5BEE #DC92F4 #EECAF9

Accessibility & contrast

On white

3.36
#CA5BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#CA5BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BEE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BEE#FFFFFF#000000##000000
##CA5BEE1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C85F3
Deuteranopia (green-blind)
#5E8FEA
Tritanopia (blue-blind)
#C8759D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5bee;
/* rgb */ color: rgb(202, 91, 238);
/* oklch */ color: oklch(66.8% 0.226 317.0);
Tailwind
colors: {
  custom: {
    50: '#de90f4',
    500: '#ca5bee',
    950: '#000000',
  },
}
SCSS
$custom: #ca5bee;
$custom-light: #de90f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5bee",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 238
  },
  "hsl": {
    "h": 285.306,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66813,
    "c": 0.22637,
    "h": 317
  },
  "luminance": 0.26212
}

Semantic roles & 50–950 ramp

primary
#CA5BEE
secondary
#C5ECB9
accent
#DE083C
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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