#CA5BE8#CA5BE8

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

Color values

HEX#CA5BE8
RGBrgb(202, 91, 232)
HSLhsl(287, 75%, 63%)
HSVhsv(287, 61%, 91%)
CMYKcmyk(12.9%, 60.8%, 0%, 9%)
CIE-LABlab(57.91, 64.25, -52.34)
CIE-LCHlch(57.91, 82.87, 320.83°)
OKLaboklab(66.47% 0.1654 -0.1462)
OKLCHoklch(66.47% 0.221 318.5)
XYZxyz(42.6617, 25.8667, 79.0738)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BE8 #79E85B
analogous
#835BE8 #CA5BE8 #E85BBF
triadic
#CA5BE8 #E8CA5B #5BE8CA
tetradic
#CA5BE8 #E8835B #79E85B #5BBFE8
square
#CA5BE8 #E8835B #79E85B #5BBFE8
split-complementary
#CA5BE8 #BFE85B #5BE883
monochromatic
#9019B0 #B925E0 #CA5BE8 #DB91F0 #EDC6F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA5BE8#FFFFFF#000000##000000
##CA5BE81.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)
#3484EC
Deuteranopia (green-blind)
#628FE4
Tritanopia (blue-blind)
#CA7399
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ca5be8;
/* rgb */ color: rgb(202, 91, 232);
/* oklch */ color: oklch(66.5% 0.221 318.5);
Tailwind
colors: {
  custom: {
    50: '#dd90f0',
    500: '#ca5be8',
    950: '#000000',
  },
}
SCSS
$custom: #ca5be8;
$custom-light: #dd90f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5be8",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 287.234,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66469,
    "c": 0.22077,
    "h": 318.5
  },
  "luminance": 0.25865
}

Semantic roles & 50–950 ramp

primary
#CA5BE8
secondary
#C1E9B6
accent
#D80E39
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D17
muted
#847E85

Preview Lab

Preview with #CA5BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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