#CA5DEB#CA5DEB

#CA5DEB is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.9% C 0.221 H 317.6°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CA5DEB
RGBrgb(202, 93, 235)
HSLhsl(286, 78%, 64%)
HSVhsv(286, 60%, 92%)
CMYKcmyk(14%, 60.4%, 0%, 7.8%)
CIE-LABlab(58.40, 63.93, -53.24)
CIE-LCHlch(58.40, 83.19, 320.21°)
OKLaboklab(66.88% 0.1631 -0.1488)
OKLCHoklch(66.88% 0.221 317.6)
XYZxyz(43.2647, 26.3851, 81.3950)
Luminance0.2638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5DEB #7EEB5D
analogous
#835DEB #CA5DEB #EB5DC5
triadic
#CA5DEB #EBCA5D #5DEBCA
tetradic
#CA5DEB #EB835D #7EEB5D #5DC5EB
square
#CA5DEB #EB835D #7EEB5D #5DC5EB
split-complementary
#CA5DEB #C5EB5D #5DEB83
monochromatic
#9217B7 #B827E4 #CA5DEB #DC93F2 #EECAF8

Accessibility & contrast

On white

3.35
#CA5DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#CA5DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5DEB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5DEB#FFFFFF#000000##000000
##CA5DEB1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EF
Deuteranopia (green-blind)
#6290E7
Tritanopia (blue-blind)
#C9759C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5deb;
/* rgb */ color: rgb(202, 93, 235);
/* oklch */ color: oklch(66.9% 0.221 317.6);
Tailwind
colors: {
  custom: {
    50: '#dd91f2',
    500: '#ca5deb',
    950: '#000000',
  },
}
SCSS
$custom: #ca5deb;
$custom-light: #dd91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5deb",
  "rgb": {
    "r": 202,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 286.056,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66878,
    "c": 0.22081,
    "h": 317.6
  },
  "luminance": 0.26383
}

Semantic roles & 50–950 ramp

primary
#CA5DEB
secondary
#C5EBB9
accent
#DA0B3B
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D17
muted
#847E85

Preview Lab

Preview with #CA5DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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