#CA5EEB#CA5EEB

#CA5EEB is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.0% C 0.219 H 317.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#CA5EEB
RGBrgb(202, 94, 235)
HSLhsl(286, 78%, 65%)
HSVhsv(286, 60%, 92%)
CMYKcmyk(14%, 60%, 0%, 7.8%)
CIE-LABlab(58.57, 63.48, -52.97)
CIE-LCHlch(58.57, 82.68, 320.15°)
OKLaboklab(67% 0.1619 -0.1481)
OKLCHoklch(67% 0.219 317.6)
XYZxyz(43.3531, 26.5618, 81.4244)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5EEB #7FEB5E
analogous
#835EEB #CA5EEB #EB5EC6
triadic
#CA5EEB #EBCA5E #5EEBCA
tetradic
#CA5EEB #EB835E #7FEB5E #5EC6EB
square
#CA5EEB #EB835E #7FEB5E #5EC6EB
split-complementary
#CA5EEB #C6EB5E #5EEB83
monochromatic
#9217B8 #B828E4 #CA5EEB #DC94F2 #EECBF9

Accessibility & contrast

On white

3.33
#CA5EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#CA5EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5EEB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5EEB#FFFFFF#000000##000000
##CA5EEB1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786EF
Deuteranopia (green-blind)
#6390E7
Tritanopia (blue-blind)
#C9769C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5eeb;
/* rgb */ color: rgb(202, 94, 235);
/* oklch */ color: oklch(67.0% 0.219 317.6);
Tailwind
colors: {
  custom: {
    50: '#dd91f2',
    500: '#ca5eeb',
    950: '#000000',
  },
}
SCSS
$custom: #ca5eeb;
$custom-light: #dd91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5eeb",
  "rgb": {
    "r": 202,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 285.957,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66998,
    "c": 0.21941,
    "h": 317.6
  },
  "luminance": 0.2656
}

Semantic roles & 50–950 ramp

primary
#CA5EEB
secondary
#C5EBBA
accent
#DA0B3C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #CA5EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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