#CA5EF5#CA5EF5

#CA5EF5 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.6% C 0.229 H 315.0°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#CA5EF5
RGBrgb(202, 94, 245)
HSLhsl(283, 88%, 66%)
HSVhsv(283, 62%, 96%)
CMYKcmyk(17.6%, 61.6%, 0%, 3.9%)
CIE-LABlab(59.12, 65.44, -57.66)
CIE-LCHlch(59.12, 87.22, 318.62°)
OKLaboklab(67.58% 0.162 -0.1618)
OKLCHoklch(67.58% 0.229 315)
XYZxyz(44.8386, 27.1560, 89.2482)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5EF5 #89F55E
analogous
#7F5EF5 #CA5EF5 #F55ED5
triadic
#CA5EF5 #F5CA5E #5EF5CA
tetradic
#CA5EF5 #F57F5E #89F55E #5ED5F5
square
#CA5EF5 #F57F5E #89F55E #5ED5F5
split-complementary
#CA5EF5 #D5F55E #5EF57F
monochromatic
#950DCC #B724F1 #CA5EF5 #DD98F9 #F0D1FC

Accessibility & contrast

On white

3.27
#CA5EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#CA5EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5EF5
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5EF5#FFFFFF#000000##000000
##CA5EF51.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2788FA
Deuteranopia (green-blind)
#5B91F1
Tritanopia (blue-blind)
#C779A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca5ef5;
/* rgb */ color: rgb(202, 94, 245);
/* oklch */ color: oklch(67.6% 0.229 315.0);
Tailwind
colors: {
  custom: {
    50: '#de92f9',
    500: '#ca5ef5',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ef5;
$custom-light: #de92f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ef5",
  "rgb": {
    "r": 202,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 282.914,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67576,
    "c": 0.22891,
    "h": 315
  },
  "luminance": 0.27155
}

Semantic roles & 50–950 ramp

primary
#CA5EF5
secondary
#CDF0BF
accent
#E50142
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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