#CA5CEB#CA5CEB

#CA5CEB is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.8% C 0.222 H 317.7°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#CA5CEB
RGBrgb(202, 92, 235)
HSLhsl(286, 78%, 64%)
HSVhsv(286, 61%, 92%)
CMYKcmyk(14%, 60.9%, 0%, 7.8%)
CIE-LABlab(58.24, 64.38, -53.50)
CIE-LCHlch(58.24, 83.71, 320.27°)
OKLaboklab(66.76% 0.1643 -0.1496)
OKLCHoklch(66.76% 0.222 317.7)
XYZxyz(43.1775, 26.2107, 81.3659)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5CEB #7DEB5C
analogous
#835CEB #CA5CEB #EB5CC5
triadic
#CA5CEB #EBCA5C #5CEBCA
tetradic
#CA5CEB #EB835C #7DEB5C #5CC5EB
square
#CA5CEB #EB835C #7DEB5C #5CC5EB
split-complementary
#CA5CEB #C5EB5C #5CEB83
monochromatic
#9116B6 #B825E4 #CA5CEB #DC93F2 #EDC9F8

Accessibility & contrast

On white

3.36
#CA5CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#CA5CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5CEB
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5CEB#FFFFFF#000000##000000
##CA5CEB1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285EF
Deuteranopia (green-blind)
#6190E7
Tritanopia (blue-blind)
#C9749B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5ceb;
/* rgb */ color: rgb(202, 92, 235);
/* oklch */ color: oklch(66.8% 0.222 317.7);
Tailwind
colors: {
  custom: {
    50: '#dd90f2',
    500: '#ca5ceb',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ceb;
$custom-light: #dd90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ceb",
  "rgb": {
    "r": 202,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 286.154,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66758,
    "c": 0.22218,
    "h": 317.7
  },
  "luminance": 0.26209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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