#CA5BE9#CA5BE9

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

Color values

HEX#CA5BE9
RGBrgb(202, 91, 233)
HSLhsl(287, 76%, 64%)
HSVhsv(287, 61%, 91%)
CMYKcmyk(13.3%, 60.9%, 0%, 8.6%)
CIE-LABlab(57.96, 64.44, -52.81)
CIE-LCHlch(57.96, 83.32, 320.66°)
OKLaboklab(66.53% 0.1654 -0.1476)
OKLCHoklch(66.53% 0.222 318.3)
XYZxyz(42.8042, 25.9237, 79.8240)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BE9 #7AE95B
analogous
#835BE9 #CA5BE9 #E95BC1
triadic
#CA5BE9 #E9CA5B #5BE9CA
tetradic
#CA5BE9 #E9835B #7AE95B #5BC1E9
square
#CA5BE9 #E9835B #7AE95B #5BC1E9
split-complementary
#CA5BE9 #C1E95B #5BE983
monochromatic
#9018B2 #B925E2 #CA5BE9 #DB91F0 #EDC7F7

Accessibility & contrast

On white

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

On black

6.18
#CA5BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BE9
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BE9#FFFFFF#000000##000000
##CA5BE91.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3384ED
Deuteranopia (green-blind)
#628FE5
Tritanopia (blue-blind)
#CA739A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ca5be9;
/* rgb */ color: rgb(202, 91, 233);
/* oklch */ color: oklch(66.5% 0.222 318.3);
Tailwind
colors: {
  custom: {
    50: '#dd90f1',
    500: '#ca5be9',
    950: '#000000',
  },
}
SCSS
$custom: #ca5be9;
$custom-light: #dd90f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5be9",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 286.901,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66526,
    "c": 0.2217,
    "h": 318.3
  },
  "luminance": 0.25922
}

Semantic roles & 50–950 ramp

primary
#CA5BE9
secondary
#C2E9B7
accent
#D90D39
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D17
muted
#847E85

Preview Lab

Preview with #CA5BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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