#CA5BE7#CA5BE7

#CA5BE7 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.4% C 0.220 H 318.8°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#CA5BE7
RGBrgb(202, 91, 231)
HSLhsl(288, 74%, 63%)
HSVhsv(288, 61%, 91%)
CMYKcmyk(12.6%, 60.6%, 0%, 9.4%)
CIE-LABlab(57.86, 64.06, -51.87)
CIE-LCHlch(57.86, 82.42, 321.00°)
OKLaboklab(66.41% 0.1654 -0.1448)
OKLCHoklch(66.41% 0.22 318.8)
XYZxyz(42.5201, 25.8101, 78.3279)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BE7 #78E75B
analogous
#845BE7 #CA5BE7 #E75BBE
triadic
#CA5BE7 #E7CA5B #5BE7CA
tetradic
#CA5BE7 #E7845B #78E75B #5BBEE7
square
#CA5BE7 #E7845B #78E75B #5BBEE7
split-complementary
#CA5BE7 #BEE75B #5BE784
monochromatic
#8F19AE #B926DF #CA5BE7 #DB90EF #EDC6F7

Accessibility & contrast

On white

3.41
#CA5BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#CA5BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BE7
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BE7#FFFFFF#000000##000000
##CA5BE71.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3684EB
Deuteranopia (green-blind)
#638FE3
Tritanopia (blue-blind)
#CA7299
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ca5be7;
/* rgb */ color: rgb(202, 91, 231);
/* oklch */ color: oklch(66.4% 0.220 318.8);
Tailwind
colors: {
  custom: {
    50: '#dd90ef',
    500: '#ca5be7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5be7;
$custom-light: #dd90ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5be7",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 287.571,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66412,
    "c": 0.21984,
    "h": 318.8
  },
  "luminance": 0.25808
}

Semantic roles & 50–950 ramp

primary
#CA5BE7
secondary
#C0E8B6
accent
#D70F38
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CA5BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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