#CA5BEB#CA5BEB

#CA5BEB is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.6% C 0.224 H 317.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#CA5BEB
RGBrgb(202, 91, 235)
HSLhsl(286, 78%, 64%)
HSVhsv(286, 61%, 92%)
CMYKcmyk(14%, 61.3%, 0%, 7.8%)
CIE-LABlab(58.07, 64.83, -53.76)
CIE-LCHlch(58.07, 84.22, 320.33°)
OKLaboklab(66.64% 0.1655 -0.1504)
OKLCHoklch(66.64% 0.224 317.7)
XYZxyz(43.0915, 26.0386, 81.3372)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BEB #7CEB5B
analogous
#825BEB #CA5BEB #EB5BC4
triadic
#CA5BEB #EBCA5B #5BEBCA
tetradic
#CA5BEB #EB825B #7CEB5B #5BC4EB
square
#CA5BEB #EB825B #7CEB5B #5BC4EB
split-complementary
#CA5BEB #C4EB5B #5BEB82
monochromatic
#9116B5 #B824E4 #CA5BEB #DC92F2 #EDC8F8

Accessibility & contrast

On white

3.38
#CA5BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#CA5BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BEB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BEB#FFFFFF#000000##000000
##CA5BEB1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EF
Deuteranopia (green-blind)
#608FE7
Tritanopia (blue-blind)
#C9749B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5beb;
/* rgb */ color: rgb(202, 91, 235);
/* oklch */ color: oklch(66.6% 0.224 317.7);
Tailwind
colors: {
  custom: {
    50: '#dd90f2',
    500: '#ca5beb',
    950: '#000000',
  },
}
SCSS
$custom: #ca5beb;
$custom-light: #dd90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5beb",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 286.25,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6664,
    "c": 0.22356,
    "h": 317.7
  },
  "luminance": 0.26037
}

Semantic roles & 50–950 ramp

primary
#CA5BEB
secondary
#C3EAB8
accent
#DB0B3B
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D17
muted
#847E85

Preview Lab

Preview with #CA5BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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